[email protected] Posted January 22, 2007 Share Posted January 22, 2007 When you go to an Item, under "Available options" where it lists all the item attributes... is there a way to organize it instead of having everything be alphabetical? Link to comment Share on other sites More sharing options...
jasonabc Posted January 23, 2007 Share Posted January 23, 2007 http://www.oscommerce.com/community/contributions,1822 Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix Link to comment Share on other sites More sharing options...
[email protected] Posted January 24, 2007 Author Share Posted January 24, 2007 Hmm... I also noticed it arranges your dropdown selections values in whatever order it wants. Wonder if there's a way to change that. Does this contribution do that as well or is there one out there that does? Link to comment Share on other sites More sharing options...
davidinottawa Posted January 24, 2007 Share Posted January 24, 2007 Hmm... I also noticed it arranges your dropdown selections values in whatever order it wants. Wonder if there's a way to change that. Does this contribution do that as well or is there one out there that does? try adding an order by to the $products_options_query in /product_info.php : $products_options_query = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " pa, " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov where pa.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pa.options_id = '" . (int)$products_options_name['products_options_id'] . "' and pa.options_values_id = pov.products_options_values_id and pov.language_id . "'" . "ORDER BY pov.products_options_values_id"); david Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.