Oji-san
- Join Date:
- Jun 2003
- Location:
- Newcastle UK
- Posts:
- 1,940
- Plugin Contributions:
- 3
Tax + discount coupon BUG?
Hi,
I think that unfortunately the changes we made earlier have introduced thay bug.
To fix, you will need to replace the
function pre_confirmation_check in includes/modules/order_total/ot_coupon.php with
function pre_confirmation_check($order_total) {
global $order;
$od_amount = $this->calculate_deductions($order_total);
if (DISPLAY_PRICE_WITH_TAX == 'true')
{
return $od_amount['total'];
} else {
return $od_amount['total'] + $od_amount['tax'];
}
}