Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add mutliple color attributes to a product in one go?


Roshca

Recommended Posts

I sell products that all come in 15 different colors, each product has the same colors available. In the admin section I have to add each color individually to each product, this is very time consuming. Is there an addon that can add all the colors to a product at once?

Link to comment
Share on other sites

thanks mate, i've followed the instructions and I got this error, I'm new to PHP and not sure what it means..

 

Fatal error: Call to a member function getAll() on a non-object in /home/dazzling/public_html/admin/includes/boxes/modules.php on line 18

 

this is the contents of that file...any help would be greatly appreciated.

<?php
/*
  $Id$

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2010 osCommerce

  Released under the GNU General Public License
*/

  $cl_box_groups[] = array(
    'heading' => BOX_HEADING_MODULES,
    'apps' => array()
  );

  foreach ($cfgModules->getAll() as $m) {
    $cl_box_groups[sizeof($cl_box_groups)-1]['apps'][] = array('code' => FILENAME_MODULES,
                                                               'title' => $m['title'],
                                                               'link' => tep_href_link(FILENAME_MODULES, 'set=' . $m['code']));
  }
?>

Link to comment
Share on other sites

revert back. If using this add-on you will need to do the code changes manually in the files, do not just upload pre-modified files from the add-on. This is also an addon for oscommerce 2.2 , so if you have a newer version the code in your files will differ some from the instructions so you will need to take that into account.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...