_:ne7e689b62fde4a75bf70c6d730800f7fxb45
<http://schema.org/text>
"$product_query = tep_db_query(\"select products_description, products_id from \" . TABLE_PRODUCTS_DESCRIPTION . \" where products_id = '\" . (int)$listing['products_id'] . \"' and language_id = '\" . (int)$languages_id . \"'\");\n  $product = tep_db_fetch_array($product_query);\n\n  array_push($new_products,$product['products_description']);\n  array_push($new_p_id,$product['products_id']);\n}\n\n\nYou go wrong in this part above. There is no $listing['products_id'] there. Actually, the smart thing would be to add that query above, say after the query for specials and use the list of products_id to query the table products_description for all products only once (instead of doing it for every single product) and add those to the array $listing in the same manner as group prices and special prices."
<https://forums.oscommerce.com/topic/53436-seperate-pricing-per-customer-v35/?page=173>