Kevin...
Our products in our store are Excl Vat (we sell to trade clients) and vat is ADDED at checkout.
Try putting your POSTAGE in order_total BELOW the discount coupon.
My sort order in OT is:-
ot_coupon = 180
ot_loworderfee = 150
ot_shipping = 200
ot_subtotal = 100
ot_tax = 300
ot_total = 999
Our discount coupons apply to products we sell, not the shipping which is paid direct to the carrier. If you buy a table in a furniture shop for £100, and the storekeeper discounts it by 10%, you pay him £90 for the table.
He then offers to deliver it for you for £20. (We argue that this is not entitled to the discount - only the product is discounted). But shipping is a vattable SERVICE, so must be included in vat calc.
You pay him:-
Table = 100
10% = -10
SUB tl = 90
Ship = 20
SubTotal = 110 (pre Vat)
Vat = 19.25
TOTAL = 129.25 (CORRECT)
For some strange reason, this gives the correct vat, even when we have multiple products in the cart, store-wide discount coupons, product-specific discount coupons (ie: all variables still come out with correct vat)
Bookmarks