We need to apply all the taxes after applying discount. But currently taxes are calculated before applying discount.
Screenshot: As you can see how the tax are being calculate on 200 rather than on (200-14) = 186.
Here are tax settings in store – Configuration – Sales – Tax. (We have set it to calculate taxes after discount)
Discounts are being applied here programmatically following this link
because we have discounts based on the type of user logged in.
Any suggestion is much appreciated. Thanks.
Best Answer
Under
System > Configuration > Tax > Calculation Settings
there are options for the order tax rules are applied, including Apply Customer Tax which can be eitherBefore Discount
orAfter Discount
.I'm assuming you currently have it set to Before Discount.