Jump to content
Sign in to follow this  

Add mutliple color attributes to a product in one go?

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?

Share this post

Link to post
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.


  osCommerce, Open Source E-Commerce Solutions

  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']));

Share this post

Link to post
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.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this