Zen Follower
- Join Date:
- Mar 2007
- Posts:
- 253
- Plugin Contributions:
- 2
OT coupon code tax error of excluded products
in the includes/modules/order_total/ot_coupon.php the tax amount of an excluded product is removed twice from the total price resulting in unexpected amount showing as part of the order total.
approx line 620 gives:
if ($this->include_tax == 'true') {
$orderTotal -= $productsTaxAmount;
}
if (DISPLAY_PRICE_WITH_TAX == 'true')
{
$orderTotal -= $productsTaxAmount;
}
resolution appears to be chnging if to include 'or' or simply removing second 'if' statement