On this page
Important Notice: This content is for educational purposes only. Results may vary based on your specific business circumstances, industry, market conditions, and implementation. No specific outcomes are guaranteed.
The question behind most discount support tickets
A shopper writes in: "Your code didn't work." Nine times out of ten the code is fine. It just could not sit next to another discount already in the cart, and Shopify quietly kept the better one. The fix is almost always a setting on the discount, not a bug.
This guide explains how Shopify combines discounts, so you can predict what a cart will do before a shopper finds out for you. To test two or three of your own discounts against each other, use the Shopify discount combinations checker.
Every discount belongs to a class
Shopify sorts discounts into three classes, and the class decides what a discount can combine with:
- Product discounts take money off specific products or collections. "20% off all knitwear" is a product discount.
- Order discounts take money off the cart subtotal. "$10 off orders over $75" is an order discount.
- Shipping discounts change the shipping cost, usually to free.
The same split shows up for developers: in Shopify's Admin API, a discount's combination settings are three switches named for these classes, one each for product, order and shipping discounts.
Which combinations Shopify allows
- Every store: an order discount with free shipping, a product discount with free shipping, and two product discounts on different items.
- Stores whose checkout meets Shopify's eligibility rules: a product discount with an order discount, and two order discounts together. Shopify's help page lists what makes a store ineligible, such as old checkout customisations.
- Shopify Plus only: two product discounts on the same item, set up with matching discount tags.
- Never: two shipping discounts on one order.
Combinations work in the Online Store, through the Storefront API and on Shopify POS. Shopify notes they are not supported on external checkouts such as Facebook, Instagram and Google, so a stack that works on your site may not work there.
Nothing combines unless both sides say yes
Discounts do not combine automatically. Every discount has a Combinations section in Shopify admin, and two discounts apply together only when each one allows the other's class. If your sitewide sale allows order discounts but your welcome code does not allow product discounts, they will not stack.
When two discounts cannot combine, Shopify applies whichever gives the shopper the best overall discount on that cart. That is why the complaint is usually "my code did nothing" rather than an error: the code was valid, it just lost.
Two more details from Shopify's help page are worth knowing. Changing a discount's combination settings does not change orders already placed with it. And you cannot change a discount's type after creating it; you delete it and make a new one.
The order Shopify calculates them in
- Product discounts come off the individual items first.
- Order discounts come off the subtotal that is left.
- Shipping discounts apply last.
This order matters for minimum spends. A "$10 off orders over $75" discount checks the cart after product discounts, so a $80 cart with 20% off knitwear may no longer qualify. It also matters for percentages: Shopify's help page explains that two percentage order discounts are each worked out on the original subtotal, rather than the second one applying to what the first left behind.
One more limit: products in a Buy X Get Y discount cannot take further product discounts, except for the "get" product on Shopify Plus.
The limits that catch people out
- Codes per order. A shopper can enter up to five product or order discount codes and one shipping code on a single order.
- Automatic discounts. A store can have up to 25 active automatic discounts, and that count includes discounts created by apps.
- Manual discounts. A custom discount added by hand, for example on a draft order or at POS, applies whatever the combination settings say.
Common mistakes
- Setting combinations on one discount only. Both sides need the box ticked. Check the older discount, not just the new one.
- Forgetting sale prices. A product with a compare-at price is already reduced. Only the selling price reaches checkout, so a code takes its amount off the sale price. Decide on purpose whether sale items should also take codes.
- Two free-shipping offers. They can never stack, so a free-shipping popup code adds nothing for a shopper who already qualifies for your free-shipping threshold. Give that shopper a different reward.
- Promising "stacks with everything" in copy. If the store is not eligible for product and order discounts together, the promise is false at checkout. Test the real cart first.
- Leaving old automatic discounts live. They count toward the limit and can beat your new code to the best-discount slot.
Where popup codes fit
Codes from a Nudgesmart popup, such as an email signup, spin to win, scratch card or pick-a-present popup, are real Shopify discount codes. So everything above applies to them exactly as it applies to a code you typed into Shopify admin: they have a class, they have combination settings, and they lose to a better discount if they cannot combine. The app reports each code as displayed, copied and redeemed, which helps you spot a code that is shown and copied but rarely redeemed, often a sign it is clashing with something else in the cart.
If you also run a discount app, the help article on giving each shopper one code and using it with other discount apps walks through the settings on both sides. For how codes are created in Shopify in the first place, see syncing discount codes with Shopify.
A quick test before every sale
- List every discount that will be live: automatic sales, codes, popup offers, loyalty rewards.
- Note each one's class and what it is set to combine with.
- Build two or three real carts in your store, including one with a sale item and one just under your free-shipping amount, and apply the codes.
- Fix any pair that should stack but does not, from both sides.
The discount combinations checker does step two for you. For choosing the offer itself, read percent off vs free shipping vs a gift, and for spend-based offers that interact with order discounts, tiered discount thresholds. Naming the codes well helps too: see coupon code ideas shoppers remember.
Tags
- discounts
- discount-combinations
- shopify-discounts
- discount-codes
- checkout
Written by
Denzil Sequeira
Denzil builds Nudgesmart, a Shopify app for popups, store widgets, bundles and Link pages, and answers its support email himself.


