Commerce coupon fixed distributed

Component ID

1743616

Component name

Commerce coupon fixed distributed

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Commerce coupon plugin that provides distributed fixed coupons.

The project was written to solve a number of issues, namely:
#1612662: Calculate fixed amount before tax calculation

It is possible that a site has multiple vat rates. For instance in the UK:

  • books are taxed at 0%
  • dvds are taxed at 20%

For that reason, should you wish to apply tax before VAT (particularly when using a Sales Tax model), the discounting has to be done on a distributed basis to ensure the VAT reported to HMRC/IRS is accurate.

The method follows a similar model to how some SAP instances work.

The module first calculates what percentage of the subtotal your product is, and then applies an appropriate proportion of the fixed coupon.

This module is not ready for production use. I would advise heavy testing and talking to your financial/legal departments before any changes to the way prices are calculated in your organisation.