Magento 2 Coupon Stacking and Control of Discount Combinations
SKU: COUPONSTACKRULES1
- rule groups and combination matrix in the admin
- conflicts: higher priority or largest discount
- cap on total discount, special prices excludable
- clear customer message instead of “code invalid”
Einmaliger Kauf · inkl. 12 Monate Updates · zzgl. MwSt.
Magento 2 coupon stacking: you decide what may be combined
With Magento 2 coupon stacking from Mironsoft you control which coupon codes and automatic cart rules may work together and which exclude each other. Instead of giving discount on discount without control, you define groups, priorities and exclusions in the admin. In the cart the module decides anew on every change and explains to the customer in plain words why a code does not apply in addition. It runs on Alpine.js in the Hyvä theme without an extra library.
Rule groups
Bundle promotions into groups such as new customers, season or loyalty.
Exclusions
Define which groups or single rules can never be combined.
Priorities
In a conflict the higher priority or the bigger discount wins, as you prefer.
Cap on total discount
A maximum percentage keeps discounts from sinking below your margin.
Clear message
The customer learns in the cart why a code does not apply in addition.
Period and group
Rules apply per store view, customer group and period.
Why merchants regulate Magento 2 coupon stacking on purpose
Magento applies all matching cart rules unless one of them stops further processing. That quickly leads to surprises: a newsletter coupon, the seasonal promotion and the loyalty discount add up, and suddenly the selling price lies below the purchase price. The standard only offers the field “Discard subsequent rules”, which has to be set by hand on every rule.
Anyone who controls Magento 2 coupon stacking centrally has one single place where the combination logic lives. That saves support requests, protects the margin and makes new promotions predictable, because every new rule only has to be assigned to one group.
Create groups: Magento 2 coupon stacking by rule type
You create groups such as “new customers”, “season” or “loyalty” and assign existing cart rules and coupon codes to them. A rule can belong to several groups. The group is the unit on which you later define exclusions and priorities. Existing rules stay unchanged, the module adds the combination logic on top.
- Groups with name, description and assignment
- One rule in several groups is possible
- Existing cart rules stay unchanged
Combination matrix: what may stack and what may not
In a matrix you define which groups can be combined. Newsletter plus season allowed, newsletter plus loyalty excluded: this keeps the behaviour traceable for your team. There are also exclusions for single codes, for example a partner code that should always apply alone. For conflicts you choose whether the higher priority or the bigger discount wins.
- Matrix group against group: allowed or excluded
- Mark single codes as “always applies alone”
- Conflict rule: priority or largest discount
Cap on total discount and discounts on special prices
In addition to the matrix that drives Magento 2 coupon stacking you set a cap: the total discount per cart or per line must not exceed a percentage. When it is reached, the module trims the last applied discount. You also decide whether coupons act on items that are already reduced. That keeps the lower limit of your margin protected permanently, even with many parallel promotions.
- Maximum total discount in percent
- Allow or block coupons on special prices
- Trimming of the last applied discount
An understandable message instead of “code invalid”
When a second code is rejected, the cart shows a clear message such as “This code cannot be combined with your newsletter discount”. The customer can choose which discount stays. That lowers abandonment and support emails. You maintain the texts per store view, and the display uses Alpine.js and Tailwind of the Hyvä theme.
- Message naming the colliding promotion
- Choice of which discount stays
- Texts per store view without extra JavaScript
Where Magento 2 coupon stacking protects the margin
Four typical cases in which Magento 2 coupon stacking helps.
Newsletter discount
The welcome coupon applies for new customers, but not in addition to the running seasonal promotion.
Partner and influencer codes
A code from a cooperation applies alone so that the commission statement stays unambiguous.
Black Friday
The big promotion is capped by percentage so that a loyalty discount does not apply on top and eat the margin.
B2B and consumers
Trade discounts cannot be combined with consumer promotions; rules differ by customer group.
Magento 2 coupon stacking: with and without the module compared
The difference to the default behaviour of cart rules.
| Topic | Without module | With Mironsoft Coupon Stacking |
|---|---|---|
| Combination logic | Spread over every single rule | Central matrix for groups |
| Conflicts | Order by sort field, often arbitrary | Priority or largest discount, as chosen |
| Margin | Discounts add up uncontrolled | Cap on total discount |
| Customer hint | Code invalid, no explanation | Clear message with a choice |
| Maintenance | Check every new rule | Assign a new rule to one group only |
How we set up Magento 2 coupon stacking for you
The process after you place the order.
Inventory
We review your active cart rules and codes and collect which combinations you want.
Installation
We install the module, set up Magento 2 coupon stacking for your store views and assign the existing rules to groups. Afterwards we check the matrix against real carts.
Cap
Together we define the maximum total discount and the behaviour with special prices.
Testing
We test conflict cases, guests, logged-in customers and the messages in the cart.
Handover
Your team learns how new promotions are assigned to a group.
Delimitation from Auto Coupon via URL and Free Gift
Auto Coupon via URL applies a code through a link. The Free Gift module gives away a product, Buy X Get Y pairs two products. Magento 2 coupon stacking creates no promotion of its own, it regulates how all the promotions running in your shop work together.
The module therefore suits every shop with more than two kinds of discount. Whether a combination is permissible under price law, for example with strike prices, is for you as shop operator to clarify with your legal adviser.
No download — personal setup instead
Coupon Stacking Rules is not listed here as a ready-made download file for self-installation. The purchase is a service commission: we get in touch after the purchase, install the module in your shop and agree on groups, exclusions and cap together with you.
Frequently asked questions
Everything important about groups, exclusions, messages and how the purchase works.
How can I combine or exclude coupons in Magento 2?
How do I stop two discount codes from adding up in Magento 2?
What happens in a conflict between two promotions?
Can I cap the total discount with Magento 2 coupon stacking?
Do coupons also act on items that are already reduced?
Do I have to rebuild my existing cart rules for Magento 2 coupon stacking?
Is there a code that should always apply alone?
Does Magento 2 coupon stacking work with Hyvä?
Does the module replace my coupon generation?
Can I download and install the module myself?
Magento 2 Coupon Stacking – Mironsoft