Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sorting product attributes


drumlegend

Recommended Posts

I have inputted all my product attributes but I accidentally inputted one in the wrong order and now you can see it's in the wrong order.

 

post-322636-0-76552200-1374679437_thumb.png

 

 

As you can see, in sandwich two there is a different value and I was wondering if there was an easy way to correct this and have both drop down boxes have the same order.

Link to comment
Share on other sites

product_info.php around line 178

 

$products_options_name_query = tep_db_query("select distinct popt.products_options_id, popt.products_options_name from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$HTTP_GET_VARS['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . (int)$languages_id . "' order by popt.products_options_name");

 

order by popt.products_options_name

  • v2.3.4 Bootstrap

Age_rectricted_category_v2.3.1.rar

Ajax categories caroussel.rar

ajax content.rar

Ajax whats new and promo.rar

Create Account & Manual Order Maker For OSC 2.3.4 V3.1.rar

install seperate taxe pricing..rar

Link to comment
Share on other sites

product_info.php around line 178

 

$products_options_name_query = tep_db_query("select distinct popt.products_options_id, popt.products_options_name from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$HTTP_GET_VARS['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . (int)$languages_id . "' order by popt.products_options_name");

 

order by popt.products_options_name

 

I changed it and it still looks the same

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...