Hi
To fix the problem you will need to edit
includes/modules/order_totals/ot_coupon.php
line 73
replace
PHP Code:
if (DISPLAY_PRICE_WITH_TAX == 'true') {
with
PHP Code:
if (DISPLAY_PRICE_WITH_TAX == 'true' && $od_amount['type'] == 'P') {
Line 76
replace
PHP Code:
if ($this->calculate_tax == "Standard") $order->info['total'] -= $tax;
with
PHP Code:
if ($this->calculate_tax == "Standard" && $od_amount['type'] == 'P') $order->info['total'] -= $tax;
line 347
replace
PHP Code:
$ratio = $od_amount['total']/$order_total;
with
PHP Code:
$ratio = $od_amount['total']/($order_total+ ( (DISPLAY_PRICE_WITH_TAX == 'true') ? $orderTotalTax : 0 ));
remember to back files up before editing
Bookmarks