Commerce Discount with VAT

Categories

Component ID

1871090

Component name

Commerce Discount with VAT

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module resolves the issue when applying discounts after VAT calculation in Drupal Commerce.

Since some of the country laws requires to display prices with VAT included for consumers, it is hard to display total summary correctly having VAT and discount sums correctly in order total summary.

To fix the problem, we apply discount to VAT rate component too and then run an regression calculation which is hidden in "Price with components" formatter.