Guest Posted June 21, 2004 Share Posted June 21, 2004 Thanks! Due to your locating the general area of the problem, I spent some time comparing the two rather than just overwriting the code... The solution to fix up the new code is rather simple. From the line of the latest code in contributions: $products_options = 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)$listing['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 . "'"); You want to edit this part: $products_options_name['products_options_id'] and add "_values" to the name, so that it is: $products_options_name_values['products_options_id'] That's all that was wrong :rolleyes: Enjoy! Thanks Donovan and j0ker for spotting this. Corrected version added to contrib page. Brian. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.