im using this guide to change sort order so that my attributes will be in order with price.
http://wiki.oscdox.com/changing_prod...tes_sort_order
but i dont have this line to edit?
this is what i have in my product info.phpCode:$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 = '" . (int)$languages_id . "'");
any help on sorting this out?thanks.Code:require('includes/application_top.php'); // LINE ADDED: MOD - Added for Dynamic MoPics v3.000 require(DIR_WS_FUNCTIONS . 'dynamic_mopics.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRODUCT_INFO); $product_check_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'"); $product_check = tep_db_fetch_array($product_check_query); $content = CONTENT_PRODUCT_INFO; $javascript = $content . '.js.php'; include (bts_select('main', $content_template)); // BTSv1.5 require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>





LinkBack URL
About LinkBacks






Bookmarks