Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

product *options* sort order... not, er.. sorting


angurio

Recommended Posts

I have installed Lindas enhancement controller - and it works brilliantly - now i can sort all my product *Attributes* no problem.

 

Only thing is i cant sort my product *options* - there is a sort order for each option (containing the atributes for that option), but, alas - the sort order does not seem to work, and the list comes out alphabetically..

 

i have looked in the forums a lot, but cant find a particular reference to this issue, as most people are having problems with the attributes listing, not with the options listing..

 

any help or info gratefully received..

 

cheers, :)

"The problems that exist in the world today cannot be solved by the level of thinking that created them." Albert Einstein

Link to comment
Share on other sites

I fixed it.. in product_info.php around line 255 the enhancement controller does this:

 

// WebMakers.com Added: Attributes Sort Order by Option Name

     $options_order_by= ' order by popt.products_options_name';

 

if you want them to be sorted by sort order, it should be changed to this..

 

// WebMakers.com Added: Attributes Sort Order by Option Name

     $options_order_by= ' order by popt.products_options_sort_order';

 

 

sorted! :)

"The problems that exist in the world today cannot be solved by the level of thinking that created them." Albert Einstein

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...