New Zenner
- Join Date:
- Dec 2006
- Posts:
- 18
- Plugin Contributions:
- 0
Online Group Pricing error
I am recieving an error ONLY when I add a special. Otherwise the mod is working flawlessly.
The error
[B]Fatal error[/B]: Call to undefined function: () in [B]/home/virtual/site83/fst/var/www/html/zen_cart/includes/functions/functions_prices.php[/B] on line [B]209
[/B]
```Line 209, plus a little extra
$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>';