Skip to content

How to force discount amount to follow shopping cart tax display settings?

Which module/block should I overwrite to force Magento to follow the same TAX display setting for discounts as for prices?

We have to have all catalog prices excluding tax, and the only settings that give correct calculations are: Apply Customer Tax to After Discount and Apply Discount On Prices to Excluding Tax

Calculation Settings

At the same time, on one of our store view for retail customers, we want to show all prices Including Tax

Shopping Cart Display Settings

And all seems to be fine, except when the discount amount is displayed. All other amounts are shown, Including Tax (following the Magento settings), but the discount itself is shown as Excluding Tax

Cart Summary

I would appreciate it if someone could point out where exactly I should overwrite the cart summary to display the discount amount that will follow the Display Prices or Display Subtotal settings for a particular store view.

It would be perfect if this would also affect how the discount is displayed on orders or invoices.