Experimental project
This is a sandbox project, which contains experimental code for developer use only.
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.
Project information
- Project categories: E-commerce
- Created by Darren Shelley on , updated
