timlitw Posted November 15, 2004 Posted November 15, 2004 I have a question about product attributes ordering. I have already install the several addins that let me put attributes in the correct order. But I have multiple selections of attributes on some of my products and would like to be able to order those. for example. A mouse pad that comes in several sizes, shapes, and background colors I want the size selection to come first but it is always the last. Shape [___________] Background Color [_____________] Size [___________] and I would like it Size [___________] Shape [___________] Background Color [_____________]
burt Posted November 15, 2004 Posted November 15, 2004 Play with this piece of code (in product_info.php): order by popt.products_options_name Until you get it in the order you wish. Examples: order by popt.products_options_name DESC order by popt.products_options_id order by popt.products_options_id DESC and so on.
timlitw Posted November 15, 2004 Author Posted November 15, 2004 Thanks for the pointers - I'll see what I can come up with. Play with this piece of code (in product_info.php): order by popt.products_options_name Until you get it in the order you wish. Examples: order by popt.products_options_name DESC order by popt.products_options_id order by popt.products_options_id DESC and so on. <{POST_SNAPBACK}>
timlitw Posted November 15, 2004 Author Posted November 15, 2004 hmm.. I guess I just hadn't looked far enough - the attribute order allows you to see that order back on the original attribut page and I had missed that. Your reply did help this since once I searched the file you mentioned above - I found that there was alread sort order code in place so that is what prompted me to go looking for something in the web interface that would make sue of that code. Thanks again for the promt reply!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.