Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Setting Product Attributes, is there an easy way?


pinkequine

Recommended Posts

Posted

Hi

 

My website has lots of different options, each with many, many attributes, I wondered if there is a way so that when you are adding the option to your product, you can either say - select all attributes, or at the least once you have selected the option it will only show you the attributes for that option. It seems an incredibly long winded way to have to add each attribute value rather than each option.

 

I am using osc 2.3.1 with Option Types 2.2 addon.

 

Are there any add ons out there that do this? I did look but not sure what would fit with the option types addon.

Posted

There are at least two addons available.

 

1 adds a javascript selector in the product adding/editing screen..

The other adds tickboxes in the bottom of the product adding/editing screen.

 

Both work well, search for them as I cannot remember their names.

 

I have no clue if they would work with the option types addon.

Maybe you can report back on that.

 

 

 

Posted

Hi Burt

 

I have installed it and it does work with the options types add on. If I wanted to make it look pretty I'd need to change the layout to include the UI theme as it doesnt seem to have any of that styling on it, but it certainly does the job great.

 

Also for 2.3.1 the change to admin/categories.php is incorrect. As there is no physical button, I replaced the part of code starting .tep_draw_button(IMAGE_COPY_TO - around line 1040. with this.

 

. tep_draw_button(IMAGE_COPY_TO, 'copy', tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . '&action=copy_to')). tep_draw_button(IMAGE_AM, 'arrow-4', tep_href_link(FILENAME_ATTRIBUTE_MANAGER, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . '&action=select'))

 

In admin/includes/languages/english.php

 

I added around line 80

 


// BOF Product Product Attribute Manager
define('BOX_CATALOG_ATTRIBUTE_MANAGER', 'Attribute Manager');
// EOF Product Product Attribute Manager

 

 

and around line 209

 

//BOF Product Attribute Manager
define('IMAGE_AM', 'Attribute Manager');
//EOF Product Attribute Manager

 

In admin/includes/filenames.php

 

before the closing ?>

 

 // BOF Product Attribute Manager
 define('FILENAME_ATTRIBUTE_MANAGER', 'new_attributes.php');
// EOF Product Attribute Manager

 

in admin/includes/boxes/catalog.php

 

around line 47 I added

 

// BOF Product Attribute Manager
    array(
    'code' => FILENAME_ATTRIBUTE_MANAGER,
    'title' => BOX_CATALOG_ATTRIBUTE_MANAGER,
    'link' => tep_href_link(FILENAME_ATTRIBUTE_MANAGER)
  ),

  // EOF Product Attribute Manager

 

I think that was all, then I uploaded the attribute manager files to the admin/ folder and was good to go.

 

Hope that helps with anyone else looking to put this on :) These forums have been a great help for me x

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...