I need to do the tax calculation after reducing the corresponding quantities with the discount coupon and the gift voucher.
Example:
Sub-Total: 79.99
Discount Coupons 5% :e0af5d: - 4.00
Gift Voucher: - 50.00
Shipping: + 7.00
Tax 16%: + 1.67 <---- It's wrong
Total: 34.66 <---- It's wrong
Sub-Total: 79.99
Discount Coupons 5% :e0af5d: - 4.00
Gift Voucher: - 50.00
Shipping: + 7.00
These quantities add: 32.99 and the value of the taxes (16%) would have to be of: 5.28 and Total: 38.26 not 1.67 and 34.66 as occurs.
I have tested all the possible combinations as include tax, re-calculate tax, etc. and the quantity goes changing but never is the correct one.
Someone can help me. Is urgent! :(
Sorry for my english. I'm spanish. Thanks
Great contribution!!!