Magento 2 Experts — Hyvä Theme, Tailwind CSS & SEO from a Single Source ›

Magento 2 Coupon Stacking and Control of Discount Combinations

Magento 2 Extension Hyvä Ready Magento 2.4.x

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”
Auf Lager
€99.00

Einmaliger Kauf · inkl. 12 Monate Updates · zzgl. MwSt.

No download, but personal setup

No download, but personal setup. This product is not a downloadable software package for self-installation. With your order, you commission Mironsoft to individually set up this module in your shop. We will get in touch with you within 2 business days — we'll sort out the details and payment together then.

This offer is aimed at business owners and companies running a Magento 2 shop.

6 features

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 control discounts

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.

01Groups

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
Marketing › Coupon Stacking › Groups
GroupNew customers (example)
Rules2
Priority20
Marketing › Coupon Stacking › Matrix
Newsletter + seasonallowed
Newsletter + loyaltyexcluded
Conflictlargest discount
02Exclusions

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
03Cap

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
Stores › Configuration › Mironsoft › Coupon Stacking
Max. total discount30% (example value)
On special pricesno
Trimminglast applied
Cart › Coupon
CodeSUMMER (example)
Statuscannot be combined
Choicekeep newsletter discount
04Customer hint

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
Use cases

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.

Comparison

Magento 2 coupon stacking: with and without the module compared

The difference to the default behaviour of cart rules.

TopicWithout moduleWith Mironsoft Coupon Stacking
Combination logicSpread over every single ruleCentral matrix for groups
ConflictsOrder by sort field, often arbitraryPriority or largest discount, as chosen
MarginDiscounts add up uncontrolledCap on total discount
Customer hintCode invalid, no explanationClear message with a choice
MaintenanceCheck every new ruleAssign a new rule to one group only
Setup

How we set up Magento 2 coupon stacking for you

The process after you place the order.

1

Inventory

We review your active cart rules and codes and collect which combinations you want.

2

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.

3

Cap

Together we define the maximum total discount and the behaviour with special prices.

4

Testing

We test conflict cases, guests, logged-in customers and the messages in the cart.

5

Handover

Your team learns how new promotions are assigned to a group.

Delimitation

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.

05How the purchase works

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.

Important to know

Your purchase does not include a download link. We will get in touch with you within 2 business days — we'll sort out the details and payment together then. This offer is aimed at business owners and companies running a Magento 2 shop.

FAQ

Frequently asked questions

Everything important about groups, exclusions, messages and how the purchase works.

How can I combine or exclude coupons in Magento 2?
With Magento 2 coupon stacking you assign rules to groups and define in a matrix which groups may stack. Everything else is excluded.
How do I stop two discount codes from adding up in Magento 2?
Exclude the two groups from each other in the matrix. The customer can choose in the cart which discount stays.
What happens in a conflict between two promotions?
You decide whether the higher priority or the bigger discount wins. The losing promotion is rejected in the cart with an explanation.
Can I cap the total discount with Magento 2 coupon stacking?
Yes, the maximum total discount per cart or line is configurable. When it is reached, the module trims the last applied discount.
Do coupons also act on items that are already reduced?
You set that. Special prices can be excluded from coupons so that strike price and coupon do not save twice.
Do I have to rebuild my existing cart rules for Magento 2 coupon stacking?
No, they stay unchanged. The module adds an assignment to groups and the combination logic.
Is there a code that should always apply alone?
Yes, single codes can be marked as “always applies alone”, such as partner or influencer codes.
Does Magento 2 coupon stacking work with Hyvä?
Yes, the messages use Alpine.js and Tailwind of the Hyvä theme, without jQuery and Knockout.
Does the module replace my coupon generation?
No. It creates no promotions, it regulates how existing rules and codes work together.
Can I download and install the module myself?
No. This offer is not a download product. After the purchase we install and configure the module personally in your shop.
Write Your Own Review
You're reviewing: Magento 2 Coupon Stacking – Mironsoft
loader
Loading...

You submitted your review for moderation.

This form is protected by reCAPTCHA - the Google Privacy Policy and Terms of Service apply.

Magento 2 Coupon Stacking – Mironsoft

Magento 2 Coupon Stacking – Mironsoft

€99.00