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