Here's an example, question follows:
I have an item set up in our shop (1.3.9f) which I configured a 25% off discount coupon for where the minimum start price for the coupon is 5.98 - the total price when purchasing two of that item.
However, when testing it, this happens:
£4.78 = threshold for discount coupon becoming redeemable when tested
£5.98 = list price of 2x shop item, 2.99 each (no VAT)
£4.49 = the actual price of 2x item, with 25% discount
Zen cart is calculating that the discount of 25% = £1.20 on a £5.98 purchase => £4.78 ?!
£4.79 / £5.98 = 0.799 (80%), which means Zen Cart is only taking off 20%, not 25% as instructed.
Also, amusingly the coupon just seems to be being negated by the VAT of £1.20, which is the correct VAT for the shipping.
Sample checkout total:
£5.98 Sub-Total
£7.18 Courier - UKMail (UK & Ireland Next Working Day) (Shipping to GB (1 x 0.82kg(s)))
-£1.20 Discount Coupon: coupon25pc
£1.20 Zero-rated VAT for coffee, sweets etc. + VAT @ 20%
£11.96 Total
If the discount coupon shipping module is set to Include Tax, this happens:
£5.98 Sub-Total
£7.18 Courier - UKMail (UK & Ireland Next Working Day) (Shipping to GB (1 x 0.82kg(s)))
-£1.50 Discount Coupon: coupon25pc
£0.90 Zero-rated VAT for coffee, sweets etc. + VAT @ 20%
£11.66 Total
Confusingly, this second total is the correct amount, but I don't know where the 90p VAT is coming from (because the £7.18 courier cost already includes the £1.20 of VAT @ 20%) and usually Zen Cart's VAT total just reflects this.
HOWEVER, with the discount coupon shipping module set to Include Tax = yes, I can increase the Coupon Minimum Order to 5.98 (the correct amount) and the coupon functions correctly.
Any idea what's going on? I can't figure this one out. Running 1.3.9f, Ceon SEF URIs and Stock by Attributes but this product has no attributes. The shop item in question for this discount coupon has 0% VAT (it's coffee); all shipping modules are set to calculate VAT at the standard rate (20% for the UK).


Reply With Quote

