Shopify discount combinations: when codes and automatic discounts stack

Shopify will stack discounts, but only when both sides agree to it. When they don't, the shopper gets the better of the two and the other disappears, sometimes with a message and sometimes without.

By Mark Barron, founder of CampaignCart QA ·

The rule: two discounts combine only if each one's Combinations setting allows the other's class (product, order or shipping). A new discount combines with nothing by default. If they can't combine, Shopify applies the better combination for the shopper.

The three discount classes

Every Shopify discount belongs to a class, and the combination settings work by class:

Which Shopify discounts can combine

CombinationPossible?Notes
Order discount + shipping discountYesAvailable to all stores
Product discount + shipping discountYesAvailable to all stores
Product discounts on different itemsYesAvailable to all stores
Product discount + order discountUsuallyNot on stores with checkout.liquid customisations
Order discount + order discountUsuallySame condition as above
Several product discounts on the same itemShopify Plus only
Two shipping discountsNoOnly one applies to an order

Limits per order: up to 5 product or order codes plus 1 shipping code. A store can have up to 25 automatic discounts active at once, including those created by apps.

The messages shoppers see

Shopify checkout keeping AIO20ONE and rejecting AIO10ACTUAL with 'couldn't be used with your existing discounts'
Two codes that aren't set to combine. Shopify keeps the first and rejects the second. Captured on our test store, 20 November 2026.

[CODE] couldn't be used with your existing discounts. appears when the code a shopper enters can't combine with a discount already in the cart, often an automatic one.

Some discount codes couldn't be used together. We applied the best combination appears when a shopper enters several codes that can't all apply. Shopify keeps the best-value set.

Automatic discount and discount code at the same time

This is the classic Black Friday trap. You run "15% off everything" automatically, then send an email with a 20% code. If neither discount is set to combine with the other, shoppers using the code get the better of the two, not both, and some will think the code didn't work.

Decide which you want:

How stacked discounts are calculated

Product discounts apply first. Order discounts then apply to the reduced subtotal. Shipping discounts apply last. If you combine more than one percentage order discount, Shopify calculates each on the original subtotal rather than one after the other.

Test the combination, not just the code

New to setting codes up? Start with how to create a discount code in Shopify. For the exact wording of each checkout message, see Shopify discount error messages.

Most combination problems only appear with the right cart. When you test a code before launch, use a cart that the automatic discount also qualifies for, and check the discount lines one by one.

Check what the checkout actually applied

CampaignCart QA runs a guest checkout with your percentage code on desktop and mobile and shows the discount checkout applied against the one you expected. When the numbers disagree, you'll see it before your customers do.

See CampaignCart QA

Sources