Sorry for being such a pain, I found again this error when I looked into public_html/cache
PHP Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in public_html/includes/functions/functions_prices.php on line 308. Here is the part of code for functions_prices, near to that line.
Code:
// If Call for Price, Show it
if ($product_check->fields['product_is_call']) {
if (PRODUCTS_PRICE_IS_CALL_IMAGE_ON=='0') {
$call_tag = '<br />' . TEXT_CALL_FOR_PRICE;
} else {
$call_tag = '<br />' . zen_image(DIR_WS_TEMPLATE_IMAGES . OTHER_IMAGE_CALL_FOR_PRICE, TEXT_CALL_FOR_PRICE);
}
}
return $final_display_price . $free_tag . $call_tag;
}
////
// Is the product free?
function zen_get_products_price_is_free($products_id) {
global $db;
$product_check = $db->Execute("select product_is_free from " . TABLE_PRODUCTS . " where products_id = '" . (int)$products_id . "'" . " limit 1");
if ($product_check->fields['product_is_free'] == '1') {
$the_free_price = true;
} else {
$the_free_price = false;
}
return $the_free_price;
}
////
// Is the product call for price?
function zen_get_products_price_is_call($products_id) {
global $db;
$product_check = $db->Execute("select product_is_call from " . TABLE_PRODUCTS . " where products_id = '" . (int)$products_id . "'" . " limit 1");
if ($product_check->fields['product_is_call'] == '0') {
$the_call_price = true;
} else {
$the_call_price = false;
}
return $the_call_price;
}
I think the codes in red are the codes concern.
Thank you so much for your help
Bookmarks