Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Yet another attribut sorting question


hubcat

Recommended Posts

Posted

Like everyone, I have attribute classes, i.e. size and color. I have implemented one of the sorting contributions to ensure that within the dropdown menu they are properly sorted as in Small, Mediium, Large, by attribute id, not alphabetically.

 

However, I still can't figure out (or am just missing... or I picked the wrong contr...) how to sort the dropdown menu order. The attribute ids should have the menus showing

 

SIZE first

COLOR second

 

But while what's in the dropdown sorts by id, the menus still show in alphabetical order with:

 

COLOR first

SIZE second

 

I'm guessing this may be as easy as a one-line change on product_info.php rather than requiring another contribution, but my PHP is too weak to get it right.

 

Any suggestions? Thank you for your time.

 

Thanks,

Adrienne

Posted

This contribution sorts what's inside the dropdown menus, which is working fine. I still can't figure how to sort the order the attribute option menus are shown in, though. :'(

Archived

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

×
×
  • Create New...