Shopify Discount Combinations: How to Stack or Stop Them

Two discounts stack only when both of them say yes. How to stack a volume discount, a code and free shipping, how to keep codes off sale items, and what the cap of 25 automatic discounts means for apps.

by Mahbod MortazaviUpdated 13 min read

A customer in a gift shop holds up two pairs of patterned socks, deciding.

In Discounty: Advanced discount code See how the Shopify discount code app works 

Stacking discounts on Shopify, say a volume discount plus a discount code plus free shipping, works only when every discount involved allows the others in its Combinations settings. To stop a code stacking on items already on sale, leave those boxes unticked; if the sale changed the product's price, limit the code to a collection without the sale items, because no box can block it. Nearly every stacking problem traces back to one of those two cases.

The rule underneath everything: a Shopify discount combines with another discount only when both of them were set to allow it. One side saying yes is not enough. That single sentence explains almost every "the cart got more off than I meant" and every "my code did not work on sale items".

Does Shopify allow discount stacking?

Yes, when both discounts allow each other's class on the Combinations card. Two product discounts on the same item do not add up unless the store is on Shopify Plus. Across Black Friday season 2025, only 2.7% of Discounty campaigns left combining turned on.

Can you stack discounts on Shopify?

Yes. Shopify sorts every discount into one of three classes, whether it is a code, an automatic discount or something an app creates, and it decides combining class by class.

ClassWhat it reducesExamples
Product discountThe price of specific items20% off a collection, buy one get one, quantity breaks
Order discountThe subtotal, after product discounts$15 off orders over $100, a 10% welcome code
Shipping discountThe shipping lineFree shipping over $75

To set it, go to Discounts in your Shopify admin, open the discount and scroll to Combinations. Ticking "product discounts" on a shipping discount says I may combine with product discounts. It does not tick the matching box on the other side; open that discount and tick it there too. The Combinations column on the Discounts page shows what each discount allows.

Both sides allow it

Volume discountCombines with order discounts
Welcome code, 10% off orderCombines with product discounts
Both applyvolume first, then the code

One side says no

Volume discountCombines with order discounts
Welcome code, 10% off orderProduct discounts not ticked
One appliesShopify keeps the better one

With both sides allowing it, these pairs work:

PairCombines?What happens
Product + orderYes, on eligible storesThe product discount comes off first, the order discount off what is left
Product + shippingYesBoth apply
Order + shippingYesBoth apply
Order + orderYes, on eligible storesBoth come off the subtotal
Product + product, different itemsYesEach item gets its own
Product + product, same itemShopify Plus onlyOtherwise Shopify keeps the better one and drops the other
Shipping + shippingNeverOne shipping discount per order

"Eligible" is Shopify's word: its guide excludes stores that still run checkout.liquid customizations or the Licensify app. Shopify applies product discounts first, order discounts to the subtotal after that, and shipping discounts last. A shopper can enter up to 5 product or order codes and 1 shipping code on one order.

The full rules, including the order in which Shopify applies things, are in Shopify's guide to combining discounts.

On Shopify Plus, two product discounts can reduce the same item. Tag each discount in its Tags section, then in Combinations choose Product discounts → Multiple per product and set Combine on same product with discounts tagged to the other one's tag, on both discounts.

How do I combine a volume discount with a discount code on Shopify?

A volume discount (buy 3, save 15%) is a product discount, so the code's class decides it.

  1. Make the code an order discount. In Discounts → Create discount, choose Amount off order and set the method to Discount code. An order discount comes off the subtotal after the volume discount, so both apply without Shopify Plus.
  2. On the code, tick Product discounts in Combinations.
  3. On the volume discount, allow Order discounts. If it comes from an app, check the app's own combinations setting.
  4. Test it. Fill a cart up to the quantity that triggers the tier, enter the code, and check that both reductions show at checkout.

If the code is an Amount off products code on the same items, you now have two product discounts on one item. Shopify keeps the bigger one, unless the store is on Plus and both are set to stack.

How do I stack a volume discount, free shipping and a code without checkout errors?

Three discounts, three classes, and each has to allow the other two. When a code is refused at checkout or a discount quietly drops off, one box on one side is almost always missing:

DiscountClassTick in its Combinations
Volume discount (buy 3, save 15%)ProductOrder discounts, Shipping discounts
Discount code (Amount off order)OrderProduct discounts, Shipping discounts
Free shippingShippingProduct discounts, Order discounts

Three more things break it even when every box is right:

  • Two free-shipping offers. Two shipping discounts never combine; a free-shipping code during automatic free shipping gives the better one only.
  • One shipping code per order. A code that carries a shipping discount uses that slot.
  • An app without combinations support. Its discounts will not combine with yours. Ask its developer.

How do I stop Shopify discount codes stacking on items already on sale?

It depends on how the sale was made.

The sale is a discount (automatic, or from an app). Open the code in Discounts and untick Product discounts in Combinations. Shopify then applies whichever is better for the cart, never both.

The sale changed the price. A bulk price editor campaign in Discounty rewrites the price and the compare-at price on the product itself, so the sale shows everywhere the product shows. Lowering prices by hand does the same. Shopify sees no discount to combine, so any code applies on top of the reduced price, whatever its Combinations card says. A $100 product cut 20% is $80; a 10% code takes $8 more, and the shopper pays $72.

The fix is on the code, not the sale. Restrict the code to a collection that leaves the sale items out:

  1. In Products → Collections, click Create collection and choose the automated (smart) type.
  2. Add the condition Compare at price is not set, and save.
  3. Open the code, and under Applies to choose Specific collections and pick that collection.

Two catches from Shopify's collection rules. A product matches "is not set" if any one variant has no compare-at price, so a product with only some variants on sale stays in, and the code still works on it. A product that always carries a compare-at price drops out even when it is not on sale. The help-centre article on how Discounty campaigns combine with Shopify and third-party discounts covers this case for each campaign type.

How do I block influencer codes during a Shopify Black Friday sale?

Pick one of two set-ups.

Codes off for the sale. Before it starts, go to Discounts, tick the influencer codes and click Deactivate discounts. A shared prefix in their names makes them quick to find. Reactivate them afterwards; Shopify's help page says a reactivated discount comes back Active with no end date, so add the end date again.

Codes on, never on top. Untick Product discounts in each code's Combinations. If the sale is an automatic discount, the shopper gets the sale or the code, whichever saves more. When the sale wins, the code is not on the order, so a creator paid per code use will not see that sale.

If your Black Friday sale changes prices, only the first set-up works, or the no-sale collection above.

Shopify says only 5 automatic app discounts can be active. How do I run more?

That limit is gone. Until 21 November 2024 a store could run 5 active automatic discounts from apps; that day Shopify raised it to 25, as Shopify's developer changelog announced. Shopify's Help Center now puts the cap at 25 active automatic discounts per store, and app discounts count in the same 25 as the ones you build in Shopify. An app page or forum answer that still says 5 is quoting the old limit.

Codes are not in the cap, and a sale that changes prices creates no Shopify discount at all. So near 25: deactivate automatic discounts that have done their job, move offers meant for some shoppers onto codes, run plain markdowns as price changes, and check how your discount app spends slots.

An example store: 7 of 25 automatic discount slots used

  • 1 slot: every Quantity discount and Cart goal campaign together
  • 3 slots: three automatic Buy X get Y campaigns, one each
  • 1 slot: an automatic Shipping discount
  • 2 slots: two automatic discounts made in Shopify
  • No slot: Bulk price editor sales and discount codes

In Discounty, all Quantity discount and Cart goal campaigns share one slot, each automatic Buy X get Y campaign and each automatic Shipping discount takes one, and Bulk price editor takes none. Same-line stacking gives a Quantity discount or Cart goal campaign a slot of its own.

How do multiple automatic app discounts stack with Shopify discount functions?

The same way as discounts you build in the admin. An app discount runs as a Shopify discount function, and it carries a class and combination settings like any other discount. At checkout Shopify applies product discounts first, then order, then shipping. Two discounts land together only when both allow each other's class. On a single item, the better product discount wins unless same-product stacking is set up on a Plus store. Shopify's Help Center says up to 25 automatic discounts can apply to the same order.

For developers: the class comes from the discount's discountClasses, product and order reductions come from the cart.lines.discounts.generate.run target, and what it stacks with is its combinesWith setting (productDiscounts, orderDiscounts, shippingDiscounts).

Where it breaks

One side ticked. The shopper gets one discount, not both.

A code applied on top of a price cut. The sale was a price change, the code came off the new price, and the customer got both.

Two sales on one item, one silently dropped. A collection sale and a BOGO on the same product: the shopper gets the better one, and support gets the "my discount is not working" ticket.

Twenty-five automatic discounts. Every automatic discount from every app counts, each automatic Buy X get Y campaign included. Count yours before Black Friday week, not during it.

Promising stacking on a store that is not Plus. Same-item stacking cannot be switched on there, so the double discount never happens.

How do I set combinations in each Discounty campaign?

Bulk price editor changes the price. The other five types run as Shopify discounts, so the class rules above apply to them, with a few specifics.

Campaign typeHow it is appliedWhere you set combiningDefault
Bulk price editorChanges price and compare-atCampaign combinations: other Bulk price editor campaigns, Quantity discount and Cart goal campaignsEvery code applies on top of the new price
Quantity discount, Cart goalOne automatic product discount, sharedCampaign combinations: Bulk price editor campaigns, same-line stackingCombines with product, order and shipping discounts
Buy X get YOne automatic product discount per campaign (none with the Discount code method)Campaign combinations: With other Shopify's product, order and shipping discountsAll three ticked
Advanced discount codeOne code with product, order and shipping partsCombinations: Product, Order, Shipping discountsCombines with nothing until you tick a type
Shipping discountCode or automatic shipping discountCombinations: Product discounts, Order discountsUnticked on a new campaign

Quantity discount and Cart goal have no boxes for Shopify's classes: their shared automatic discount already combines with all three, so any code that allows product discounts stacks on them. To stop them combining with a class, ask Discounty's support team to change it for your store.

The Campaign combinations card in Discounty's Quantity discount form. It offers Discounty's Bulk price editor campaigns and a greyed-out Allow stacking on the exact same product(s) option, with a note that same-line stacking is for Shopify Plus merchants. It has no boxes for Shopify's product, order or shipping discounts.

Buy X get Y discounts the reward (Y) only; the X items keep any other discount they qualify for.

The Campaign combinations card in a Discounty Buy X get Y campaign, with With other Shopify's product discounts, With other Shopify's order discounts and With other Shopify's shipping discounts all ticked, and Allow stacking on the exact same product(s) greyed out.

Advanced discount code can carry several classes in one code, so another discount combines with it only if it allows every class the code contains. Shipping discount never combines with another shipping discount. That is Shopify's rule, not ours.

The Combinations card in a Discounty Shipping discount campaign, with Product discounts and Order discounts ticked.

Combining Discounty campaigns with each other, such as a Bulk price editor campaign with a Quantity discount, needs the Discounty or Ultimate plan; the App Store listing puts "Auto-update & Combination options" on the Discounty plan. Both campaigns must allow each other, or Discounty leaves the shared products out of the newer campaign. The Bulk price editor option is not offered when the discount type is New price.

Stacking two product discounts on the same item

In Discounty, same-item stacking lives in the same combinations card: on Buy X get Y tick With other Shopify's product discounts (on Advanced discount code, Product discounts), then Allow stacking on the exact same product(s), and pick the campaigns it may stack with. It works between Buy X Get Y, Advanced discount code, Quantity discount and Cart goal. Two rules: two Quantity discount or Cart goal campaigns cannot stack with each other, and bulk price editor and Shipping discount are not part of it.

Same-line stacking needs two things at once: the Discounty or Ultimate plan, and Shopify Plus. Without the plan the option sits behind an upgrade icon. Without Plus it is greyed out with a banner saying Shopify Plus is required, and you cannot save a stack list. Check the store's plan before you promise a customer a double discount.

Step by step, with the picker and what each message means, is in how to stack two product discounts on the same item.

One more rule for every type: an Active campaign only lets you change its end date and time. To change combinations, deactivate it, edit, and activate it again.

Worked example: one Black Friday cart, three discounts

A store sells hoodies at $60, and shipping costs $8. For Black Friday it runs three discounts:

  • A Discounty Quantity discount: buy 3, save 15%. It combines with all three classes by default.
  • A Discounty automatic Shipping discount for free shipping, with Product discounts and Order discounts ticked.
  • A creator code, CREATOR10, built in Shopify as Amount off order, 10%, with Product discounts and Shipping discounts ticked.
3 hoodies × $60$180.00
Quantity discount, buy 3 save 15%−$27.00
Subtotal after product discounts$153.00
CREATOR10, 10% off order−$15.30
Shipping $8.00, free shipping$0.00
Total$137.70
23.5% off the hoodies, not 25%The code takes 10% of what is left after the volume discount: $180 × 0.85 × 0.90 = $137.70.Shipping comes off last, so it never changes the other two.

Three hoodies are $180. The Quantity discount comes off first: 15% of $180 is $27, leaving $153. The code is an order discount, so it takes 10% of $153, which is $15.30, leaving $137.70. Shipping is free. The shopper pays $137.70 instead of $188: 23.5% off the hoodies, because 15% and then 10% is 1 − 0.85 × 0.90, not 15 + 10.

Now untick Product discounts on CREATOR10. The code alone would take 10% of $180, which is $18; the volume discount takes $27. They can no longer apply together, so Shopify keeps the $27 and the code does not apply. The shopper pays $153 with free shipping.

How to undo it

The Combinations card is a setting, not a commitment. Untick a class and save: from the next cart on, the discount stops combining with that class. Nothing already ordered changes.

For a Discounty campaign, deactivate it first; it shows Reverting while the discount is removed, then you can edit and activate it again. Removing a campaign from a same-line stack list unlinks it, but the other campaign keeps its own stacking setting until you switch that off too.

For a price-cut sale, ending the campaign puts the prices back. A bulk price editor campaign with an end date does this by itself at the hour you set. A code limited to the no-sale collection goes back to normal when you reset its Applies to.

Questions

Can you stack discount codes on Shopify?

Yes, up to 5 product or order codes and 1 shipping code, when every code is set to combine with the others' classes. A code that is not set to combine is applied alone.

Can you combine discounts on Shopify?

Yes. Product, order and shipping discounts can combine with each other, and order discounts with other order discounts, but only when both discounts were set to allow it in their Combinations settings.

Can two product discounts apply to the same item on Shopify?

Not by default. Shopify applies the better one and drops the other. Shopify Plus stores can enable same-line stacking; in Discounty it is a per-campaign setting that needs the Discounty or Ultimate plan as well.

Why does my discount code work on top of my sale?

Because the sale changed the product's price rather than running as a discount. Shopify sees only a lower price, so the code applies to it. Restrict the code to a collection that leaves the sale items out.

How many automatic discounts can a Shopify store have?

25 active at once, app discounts included. The limit for app discounts was 5 until November 2024. In Discounty, automatic Buy X get Y campaigns each take one (one set to Discount code takes none); Quantity discount and Cart goal campaigns share one, unless same-line stacking is on.

Set the combinations before the sale, not during it

Discounty puts the combinations card inside the campaign form, so a sale goes live already knowing what it will and will not stack with.