After chancing some parameters in the admin for the printable catalg i got a error:

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /home/janzeros/public_html/catalog/templates/OneTable/content/catalog_products_with_images.tpl.php on line 300


Line 300 says that the customer_discount is wrong in the TABLE_CUSTOMER : via nested mysql statements: result( select() )
note: it need the variable $customer_id => this is set in admin?
So the variable $ discount can be calculated




//Discount used for Customer Discount Mod
if (PRODUCT_LIST_CUSTOMER_DISCOUNT) {
line 300 $discount = mysql_result(mysql_query("select customer_discount from " . TABLE_CUSTOMERS . " where customers_id = '" . $customer_id . "'"), 0 , 0);



look at my site for the error : http://www.janzerospec.com/catalog/c...ith_images.php

doumawis