On this page
What this issue is
Shopify lets you run automatic discounts (applied without a code), discount codes (typed in by the shopper) and discounts created by apps. By default, only one product or order discount applies to a cart. Shipping discounts and some combinations can stack if you allow it.
A conflict is when these rules overlap in a way you did not intend. Examples: an automatic 10% sale blocks a welcome code, a Buy X Get Y offer cancels a free-shipping code, or an app applies its own discount through a script that fights the native one.
Why it costs you leads or sales
Shoppers who arrive from an ad or email with a code expect it to work. If checkout says the code cannot be used with another discount, many will leave rather than ask. Others see a price that is lower than planned, which cuts your margin without you noticing.
Example: illustrative numbers only. Carts that see a rejected coupon finish checkout less often than carts where the code applies.
- Ad or email clickShopper has a code
- Add to cartAutomatic discount applies
- Enter codeCode cannot combine
- PaymentShopper leaves
- OrderNo sale
The shopper arrives with a code, but an automatic discount blocks it.
How to check if your site has it
List every active discountShopify
In Shopify admin open Discounts. Note each automatic discount, code, its dates and what it applies to. Include discounts created by apps.
Open the Combinations sectionShopify
Open each discount and read its Combinations box. It shows whether it can combine with product, order or shipping discounts.
Test a cart as a shopper
In a private browser window add a product, then enter each live code. Check that the cart total and the discount lines match what you expect.
Test combinations
Repeat with products that trigger an automatic discount, then add a code. Note any message such as the code cannot be used with another discount.
Check discount appsShopify
Disable one discount app at a time on a test basis or a duplicate theme, and see whether prices change.
How to fix it
Decide what should stack
Write a simple rule, for example: sale pricing never stacks with codes, but free shipping codes stack with everything.
Set Combinations on each discount
Go to Discounts, open the discount, and under Combinations tick the types it may combine with (product, order, shipping). Do this on both discounts, because both must allow it.
Shorten or end overlapping discounts
Set clear start and end dates. Deactivate old automatic discounts that are still live by mistake.
Check eligibility
Make sure collections, customer groups and minimum purchase rules do not accidentally exclude the products the code is meant for.
Resolve app conflicts
If a discount app changes prices through its own logic, pick one system for that offer. Follow the app's documentation for combining with native discounts, or remove one of them.
Audit scripts that change prices
Search your theme for code that edits cart totals or applies discounts through cart attributes or the cart API, and remove it if a native discount can do the job.
Use native discounts where possible
Native automatic discounts and codes follow Shopify's combination rules, which are easier to reason about than custom scripts.
Conflicting
- Automatic sale blocks the welcome code
- Old automatic discount still live
- App and native discount both change the price
Clear rules
- Combination rules set on both discounts
- Expired discounts deactivated
- One system owns each offer
How to confirm it's fixed
- Each live code applies on a fresh cart with the intended products
- Cart with an automatic discount plus a code behaves as your rule says
- Free shipping codes still work alongside other offers if intended
- The final total matches your manual calculation
- Checked on mobile and desktop, as a guest and logged in
How to prevent it happening again
- Keep a short sheet of active discounts, their dates and combination rules
- Test a code on a clean cart before every campaign launch
- Set end dates on every promotion
- Re-test after installing or updating a discount app
- Re-test after theme changes that touch the cart
How FunnelGuard handles this
FunnelGuard detects this only partly. Its check is a coupon assert: a robot visitor runs your cart or checkout journey, enters a coupon you give it, and checks that the coupon applies. If the coupon is rejected, the run fails, is re-checked from a second region, and you get one alert with a screenshot and a likely cause.
It does not audit every discount combination, check that automatic discounts and apps give the right price in every cart, or judge your margins. It also stops before payment unless your store's test mode is set up, and it never enters real card details.
To cover the rest by hand, keep the discount sheet above, test mixed carts (automatic discount plus code, shipping code plus sale) before each campaign, and re-test after app or theme changes. FunnelGuard's Free plan includes 1 site and 2 journeys with daily checks, no card needed.
Questions people ask
Why is my Shopify discount code not working with an automatic discount?
By default Shopify applies only one product or order discount per cart. For a code and an automatic discount to stack, both discounts must allow the other's type under Combinations. Open each discount and tick the matching options.
How do I let customers use a discount code and free shipping together?
Open the discount code and the free shipping discount in Discounts, then in the Combinations section of each, allow shipping discounts or order discounts as needed. Save both and test on a fresh cart.
Why does Shopify say my code cannot be used with another discount?
It means an automatic discount or another code already in the cart does not allow combining with this one. Change the Combinations settings on both discounts or remove the one you do not want to stack.
Can discount apps conflict with Shopify's native discounts?
Yes. If an app changes prices with its own logic, it can overlap with native automatic discounts or codes and give wrong totals. Choose one system per offer and test the cart after installing or updating the app.
How do I test a Shopify discount before a campaign?
Use a private browser window, add the target products to the cart and enter the code. Then repeat with products that trigger any automatic discount. Check the cart total and the discount lines against your expected price.
Can FunnelGuard detect Shopify discount conflicts?
Only partly. FunnelGuard runs a coupon assert, checking that a coupon you supply applies in the journey. It does not audit every combination of automatic discounts, codes and apps, so test those by hand.
Why does an old automatic discount still apply?
The discount is probably still active with no end date, or its end date is in the future. Check Discounts, filter by active, and deactivate or set an end date on any you no longer want.
Related issues
- OPS-266App conflict breaking add-to-cartFix guide
- OPS-265Theme published with missing tracking or broken cartFix guide
- OPS-271Market/currency settings wrong for countryFix guide
- OPS-272Product unavailable on sales channelFix guide
- OPS-276Duplicate pixel via app + manual codeFix guide
- OPS-267Uninstalled app leaves broken script tagsFix guide