Shopify discount code not working? A shopper types your code, taps Apply, and gets a red error. Or the code works for you but not for them. The cause is almost always one setting, and the error message tells you where to look.
I have fixed broken discount codes on many client stores, and the same ten causes come up again and again. This guide covers each one in the order I check them, with the exact setting that fixes it.
Here is what you will learn:
- What each checkout error message means
- Every reason a code fails, and how to fix it
- Why the discount code box is missing in the cart (Dawn vs Horizon)
- How to test a code before you send it out
- A troubleshooting checklist to keep open while you work
Start with the error message
Each kind of problem has its own message. Ask the customer for a screenshot, or try the code yourself. This table is based on Shopify’s Discount codes FAQ and its guide to combining discounts.
| Message at checkout | What it means | Check first |
|---|---|---|
| Enter a valid discount code | The code doesn’t exist or isn’t active right now | Spelling, status, active dates |
| CODE discount code isn’t valid for the items in your cart | The code exists, but the cart doesn’t qualify | Applies to, minimum requirements, Buy X get Y items |
| The CODE discount code has already been used | This customer can’t use it again | Maximum discount uses, unfinished checkouts |
| CODE discount code isn’t available to you right now | This customer isn’t eligible | Eligibility: customers, segments, markets |
| Discount couldn’t be used with your existing discounts | Another discount is applied and they don’t combine | Combinations on both discounts |
The “isn’t available to you right now” message is not in the FAQ. Shopify Support has explained on the Community forum that eligibility is checked after the shopper enters their details. So a code can apply, then vanish.

Shopify discount code not working? Check these 10 causes
Almost every fix lives on one page. In your Shopify admin, go to Discounts and click the code. Then work down this list.

1. The code has expired or hasn’t started
Check the status on the Discounts page, then open Active dates. Start and end times follow the time zone in your Shopify admin, not the shopper’s. A code that starts on November 26 starts at midnight in your store’s time zone, so a shopper abroad can be early or late.
Fix: change the dates and click Save. To bring back an expired code, open it and click Activate. It comes back with no end date, so add one if you need it.
2. The usage limit is used up
The Maximum discount uses section has two options: Limit number of times this discount can be used in total and Limit to one per customer. The second one tracks the customer’s email or phone number. When a customer can’t reuse a code, they see “has already been used”.
Sometimes the customer never finished an order. Once an order is submitted, Shopify holds the code until payment completes or fails. If a payment provider doesn’t report a failure, the hold stays.
Fix: search for the customer under Orders to see if they really used it. Raise the total limit if needed. Renaming the code, or turning it off and on, doesn’t reset its history. For one stuck customer, create a new code with the same rules and send it to them.
3. The cart doesn’t meet the minimum
In Minimum requirements, you can choose Minimum purchase amount or Minimum quantity of items. Shoppers often miss three rules:
- If the code applies to certain products or collections, only those items count.
- Shipping and taxes never count.
- Gift cards in the cart don’t count, unless the discount includes the gift card product.
Example: a code needs $50 of shirts. The cart has a $40 shirt and a $30 hat. The total is $70, but only $40 counts, so the code fails.
Fix: lower the minimum, or state the rule clearly wherever you share the code.
4. The products in the cart aren’t included
Check Applies to. If it says Specific collections, confirm the product is really in that collection. New products often aren’t. A code can also cover only some variants. If you sell subscriptions, check Purchase type too.
Buy X get Y codes cause the most confusion. The shopper must add both the “buy” items and the “get” item to the cart. Shopify never adds the free item for them. Without it, they see the “discount code isn’t valid for the items in your cart” error.
Fix: add the missing products or collections to the discount. For Buy X get Y, tell shoppers exactly which items to add.
5. The customer isn’t eligible
The Eligibility section has four options: All customers, Specific customers, Customer segments and Markets. Checkout matches the customer by email or phone number, so a different email means no discount.
Segments have a catch. A brand new shopper has no customer profile yet, so they aren’t in any segment until their first order is complete. That is why a “welcome” code built on a segment often fails for the very people it was made for.
Fix: for welcome codes, choose All customers and tick Limit to one per customer. Keep segments for discount codes you send to existing customers.
6. The shopper is in the wrong market or country
If Eligibility is set to Markets, shoppers outside those markets can’t use the code. Free shipping codes have their own Countries setting. They also have an option called Exclude shipping rates over a certain amount. If the shopper picks a pricier rate, the code won’t cover it.
Currency matters for fixed amounts. A $10 code is converted at checkout, so a shopper paying in euros sees a different number. Percentage codes don’t have this problem.
Fix: add the missing market or country, raise the rate cap, or use a percentage for international stores.
7. It clashes with another discount
Every discount has a class: product, order or shipping. Two discounts only work together when the Combinations setting on each one allows the other’s class. If one says no, Shopify keeps the better deal for the shopper and drops the other. To the customer, it looks like the code was ignored.
Automatic discounts are the usual cause. A site-wide sale is already in the cart, the code can’t combine with it, and the shopper only gets whichever saves more. Also keep these limits in mind:
- A customer can use up to 5 product or order codes and 1 shipping code per order.
- Two shipping discounts never combine.
- Combining product with order discounts needs a store without old checkout.liquid edits.
- Combinations don’t work on external checkouts such as Facebook, Instagram or Google.
Fix: open each discount, go to Combinations, tick the classes it should work with, and click Save. On the Discounts page, Add filter and Combines with list every combinable discount.

8. The discount code is not working on POS
Discount codes work on every sales channel, including Shopify POS, and you can’t block a code from one channel. When a code fails in your shop, check these points:
- The staff member needs the Apply discount codes permission.
- Every item in the POS cart must meet the code’s rules.
- Discount codes can’t be applied to exchanges.
- Buy X get Y discounts can’t be used at POS Lite locations.
Automatic discounts are different: they only run at POS Pro locations, and only when Also offer on Point of Sale (POS Pro locations only) is ticked.
9. Typing mistakes, spaces and look-alike letters
Copying a code from an email can grab an extra space. Shoppers also mix up O and 0, or I and l. Capital letters are not the problem: Shopify looks up discount codes without caring about case. Shopify also advises against special characters, because they can break the checkout link.
Fix: use short codes with plain letters and numbers, like SPRING15. Better still, send a shareable link. Open the discount, click Promote, then Get a shareable link. The code applies by itself, so nothing can be mistyped.
10. An app or custom checkout is in the way
Apps that change prices or checkout can hide the discount field or reject a code with their own message. Bundle apps change line prices first, and automatic discounts then use the new prices. Shopify suggests temporarily uninstalling discount or checkout apps, then testing again.
Codes also never work on the post-purchase page after checkout. On draft order invoices, customers can’t add a code by default.
Discount code box not showing: cart or checkout?
No box in the cart doesn’t mean the code is broken. It depends on your theme.
- Dawn: the cart has no discount code box. It lists discounts already applied, with a note such as “Taxes, discounts and shipping calculated at checkout.” Shoppers enter the code at checkout.
- Horizon: the cart has a Discount field. You control it in the theme editor under Theme settings, Cart, then Allow discounts in cart. It is on by default. Free shipping codes only show at checkout, after the shopper adds an address.

If the discount code box is missing at checkout itself, Shopify lists four reasons:
- You have no active discount codes.
- The checkout came from a draft order invoice or link.
- The shopper uses Shop Pay and hasn’t logged in to it yet.
- An app that changes prices or checkout is hiding it.
How to test a code so it never fails for customers
A five-minute test catches most cases of a Shopify discount code not working.
- On the Discounts page, check that the code shows as active.
- Open your store in a private browser window, so no saved cart or login gets in the way.
- Add products that meet the rules, plus one product that doesn’t.
- Go to checkout and enter the code. Use an email that matches the eligibility you chose.
- Enter an address in a market the code covers, and watch whether the discount stays.
- Check the total, then close the checkout before you pay.
- Repeat on your phone, and test the shareable link too.
If you place a real test order with a one-per-customer code, your email now counts as used.
Troubleshooting checklist
| Symptom | Likely cause | Fix |
|---|---|---|
| “Enter a valid discount code” | Typo, expired, or not started | Check spelling, status and Active dates |
| Works for you, fails for customers | Eligibility or market | Set All customers or add the market |
| “Isn’t valid for the items in your cart” | Products, variants or the “get” item missing | Check Applies to and the Buy X get Y items |
| Fails on small orders only | Eligible items don’t reach the minimum | Lower Minimum requirements or explain the rule |
| “Has already been used” | Usage limit or a stuck checkout | Raise the limit or send a replacement code |
| Code accepted, then removed | Customer not eligible once checkout knows them | Check segments and specific customers |
| Code ignored, sale kept | Automatic discount doesn’t combine | Tick the right classes in Combinations |
| Free shipping code fails | Country not selected or rate too high | Edit Countries and the rate cap |
| Fails at POS | Staff permission, exchange or POS Lite | Give the Apply discount codes permission |
| No discount code box in the cart | Dawn has none; Horizon setting is off | Use checkout, or turn on Allow discounts in cart |
| No box at checkout | No active codes, Shop Pay, draft order or app | Activate a code, then test without the app |
Common mistakes to avoid
- $0 or 0% codes. Shopify says these might not work at checkout. Use at least 1% or $0.01.
- Trying to change the discount type. You can’t edit the type later. Create a new code instead.
- Recreating a one-per-customer code. A new code has a new history, so past users can use it again.
Related guides
- Shopify Buy X Get Y: why it doesn't apply and how to add the free gift.
- Shopify volume discount: quantity breaks without an app.
- Shopify checkout not working: 12 causes and fixes, plus what to do in the first 10 minutes of a sale.
Frequently asked questions
Why is my Shopify discount code not working?
Usually one setting blocks it: dates, usage limit, minimum, products, eligibility or combinations. Read the error at checkout, then open the code under Discounts and check those sections.
Why is my Shopify discount code not working on POS?
Check that the staff member has the Apply discount codes permission and that every item in the cart meets the code’s rules. Codes can’t be used on exchanges, and Buy X get Y discounts don’t work at POS Lite locations.
Why is the discount code box not showing in Shopify?
Dawn has no code box in the cart, so shoppers enter it at checkout. Horizon has one if Allow discounts in cart is on. At checkout, the box needs at least one active code and can be hidden by Shop Pay, draft order invoices or some apps.
Are Shopify discount codes case sensitive?
No. Shopify looks up discount codes without caring about capital letters, so SUMMER10 and summer10 work the same. Spaces and look-alike characters such as O and 0 cause far more problems.
What does “discount code isn’t valid for the items in your cart” mean?
The code exists, but nothing in the cart qualifies. The products may not be in the selected collection, the variant may be excluded, or a Buy X get Y code is missing the free item.
Can customers apply a discount code before checkout?
In Horizon, yes, in the cart. In Dawn, only at checkout. A shareable discount link works in any theme, because it applies the code as soon as the shopper opens it.
Most discount codes fail because of one small setting. For more practical guides, see my Shopify tips, or learn how to get your first sale on Shopify. If you would rather have someone set up and test your discounts, I do this as part of my Shopify store management service. Message me on WhatsApp and I will take a look.




