Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product Attributes coming up in strange order


Shooter

Recommended Posts

I have an item that has a dozen or more color numbers (101-23, 103-56, 109-39, etc.). Although I input them into OSC in order, they are now appearing in the dropdown box in a bizarre order. Is there a way to sort the values of the product attributes to be in order?

 

I tried altering line 131 of catalog/product_info.php from:

"' order by popt.products_options_name");

to

"' order by popt.products_options_value");

which appeared to be the way that was addressed on an admin page, but that gives db errors.

 

Any suggestions?

 

Thanx,

Wm

Link to comment
Share on other sites

You could try

Sort Option Values Module 1.0 to sort the options themselves

http://www.oscommerce.com/community/contributions,2924

and Products Attributes Sort v1.0 to sort the attributes

http://www.oscommerce.com/community/contributions,1690

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...