Commerce discount cumulative
Categories
Component ID
2491453
Component name
Commerce discount cumulative
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
552
Component created
Component changed
Component body
Commerce discount module does not give cumulative options, so all active discounts matching with conditions will be applied.
What the module does
- Create field and instances in commerce_discount to choose if discount is cumulative or not.
- Add condition rule to disallow discounts following settings.
- Add action rule to remove previous discounts in case of "exclusive" setting.
- Discounts are applied in the order of rules's weight.
Features available
A discount can be :
- Cumulative: default option and default commerce discount behavior, all the discount will be applied.
- The last (No more): All the other discounts will be ignored.
- Exclusive: If all the previous discounts was cumulative, this discount will remove all the previous discounts and will don't let another discount apply.
Additionnel modules
- Commerce Discount Weight module : Let you order your discounts thanks to a setting page and weight field.
Disclaimer
This module has only been tested with order discounts for the moment.
