Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Experimental project
This is a sandbox project, which contains experimental code for developer use only.
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.
Project information
- Module categories: E-commerce
- Created by iMiksu on , updated