I am recieving an error ONLY when I add a special. Otherwise the mod is working flawlessly.
The error
Code:
Fatal error: Call to undefined function: () in /home/virtual/site83/fst/var/www/html/zen_cart/includes/functions/functions_prices.php on line 209
Line 209, plus a little extra
Code:
$display_normal_price = round(zen_display_group_pricing($display_normal_price,$products_qty),2);
if (SHOW_SALE_DISCOUNT_STATUS == '1' and ($display_special_price != 0 or $display_sale_price != 0)) {
if ($display_sale_price) {
if (SHOW_SALE_DISCOUNT == 1) {
if ($display_normal_price != 0) {
////////////////////// line 209///////////////////////////////////////////////////////
$show_discount_amount = $number_format(100 - (($display_sale_price / $display_normal_price) * 100),SHOW_SALE_DISCOUNT_DECIMALS);
//////////////////////////////////////////////////////////////////////////////////////
} else {
$show_discount_amount = '';
}
$show_sale_discount = '<span class="productPriceDiscount">' . '<br />' . PRODUCT_PRICE_DISCOUNT_PREFIX . $show_discount_amount . PRODUCT_PRICE_DISCOUNT_PERCENTAGE . '</span>';
This is the only thing I need to fix before I start skinning the site, help!
Bookmarks