|
|
|
|
"These feature is really useful if you have a lot of products and especially if you have a lot of attributes to products.
Go to the admin folder and find the file called:
- products_attributes.php
!!! REMEMBER TO BACK-UP !!!
Find next code in the file:
$values = tep_db_query("select * from " . TABLE_PRODUCTS_OPTIONS_VALUES . " where language_id = '" . $languages_id . "' order by products_options_values_name");
while ($values_values = tep_db_fetch_array($values)) {
echo '';
}
THIS CODE GOES FOR THE LAST DROP-DOWN BOX ON THE BOTTOM.
Change it on that code:
$values = tep_db_query("SELECT products_options_values.products_options_values_id,
products_options_values.products_options_values_name,
products_options.products_options_id,
products_options.products_options_name,
products_options_values_to_products_options.products_options_id,
products_options_values_to_products_options.products_options_values_id
FROM products_options_values,
products_options,
products_options_values_to_products_options
WHERE products_options_values.products_options_values_id = products_options_values_to_products_options.products_options_values_id AND
products_options.products_options_id = products_options_values_to_products_options.products_options_id
ORDER BY products_options.products_options_name, products_options_values.products_options_values_name") or die(mysql_error());
while ($values_values = mysql_fetch_array($values)) {
echo '';
}
That's it!
I hope somebody might find that useful." |
|
|
|
 |
| For more information, visit the official osCommerce contribution webpage. |
 |
|
|