When a Shopify discount code is not working, the code is rarely broken. Almost every failure comes from one of the discount's own settings: it isn't active yet or has already expired, the cart doesn't hold the products it applies to, a minimum isn't met, the shopper or their market isn't eligible, the usage limit has run out, or it can't combine with a discount already in the cart. The error message at checkout points to which one.
This guide starts with those messages, then walks through each cause with the exact setting to check in Discounts. It ends with a checklist for testing codes before a sale, which matters most in late November, when one bad code can fill your inbox.
What does each Shopify discount error message mean?
The message the shopper sees narrows the cause down fast, so ask for it word for word before you open anything. Shopify's help docs list these:
| What the shopper sees | What it means | Where to look |
|---|---|---|
| "Enter a valid discount code" | Shopify can't find an active code with that name | Spelling, status, Active dates |
| "Unable to find a valid discount matching the code entered" | The code is deactivated (or doesn't exist) | Status on the Discounts page |
| "[CODE] discount code isn't valid for the items in your cart" | The code is active but applies to none of the products in the cart | Applies to, purchase type |
| "The [CODE] discount code has already been used" | The usage limit was reached, possibly held by an unfinished checkout | Maximum discount uses |
| "Discount couldn't be used with your existing discounts" | It can't combine with a discount already applied | Combinations on each discount |
| "Some discount codes couldn't be used together. We applied the best combination" | Several codes were entered and only some combine | Combinations |
| No discount field at all | No active codes, a draft order checkout, Shop Pay before login, or an app | See the section below |
Wording can vary by checkout language and theme, so treat the table as a map, not a script. If a shopper says "it just doesn't work," ask whether the code was accepted and the price didn't change, or whether it was rejected with a message. Those are different problems.
Why is my Shopify discount code not working?
Check the discount's status and dates first, then what it applies to, then who can use it. Open it from Discounts in your Shopify admin and go through the settings in this order.
1. It isn't active, or the dates are off
A discount only works between its Active dates. Dates follow your store's time zone in the admin, not the shopper's, so a code that starts at 12:00 am in New York is still inactive for a shopper in California at 9:30 pm the night before. Leaving the end date unset means the code never expires; setting the same day for start and end makes it valid for that one day.
Two other things switch codes on and off:
- Rollouts. A rollout can activate or deactivate a discount on a schedule, and Shopify's FAQ notes that a discount can show as active or inactive because of one. If you use rollouts for a sale, check the rollout's times too. Scheduling a sale on Shopify covers lining these up.
- Deactivation. Anyone with access can deactivate a discount from its page. Reactivating an expired one sets it to Active with no end date, which you may not want.
2. The cart doesn't contain what the code applies to
This is the "isn't valid for the items in your cart" case. Under Applies to, a code can be limited to Specific products or Specific collections, and you can pick individual variants. A "20% off outerwear" code does nothing for a cart of T-shirts.
Also check Purchase type if you sell subscriptions. A code set to one-time purchases won't apply to a subscription line, and the other way around. Only the selected purchase type counts toward a minimum purchase amount.
3. A minimum requirement isn't met
Minimum purchase requirements can be an amount or a quantity. Two details catch shoppers out:
- Only items the discount applies to count. A "$10 off $75 on shoes" code ignores the $30 belt in the same cart.
- The amount counts product prices only. Shipping and taxes never count, so a $70 cart with $8 shipping is still under $75.
Purchased gift cards don't count toward the minimum unless the gift card product is selected for the discount. Most discounts can't apply to gift cards at all.
4. The shopper isn't eligible
Under Eligibility, a code can be open to All customers or limited to Specific customers, Customer segments or Markets. A code limited to your VIP segment fails for everyone else, and a code limited to your United States market won't apply for a shopper checking out in your Canada market.
5. The usage limit ran out
Maximum discount uses has two options: a total cap across all customers, and Limit to one per customer, which Shopify tracks by email address or phone number. A "first 100 orders" code stops working at order 101, which looks like a bug to shopper 101.
The confusing version is a shopper who never completed an order and still sees "has already been used." Shopify holds a use when the order is submitted and releases it when the payment succeeds or fails. If the checkout never finishes, for example because a payment provider doesn't report a failed payment correctly, the hold stays. Deactivating, reactivating or renaming the code doesn't reset its usage history. Shopify's advice is to check the customer's orders and, if there's no order, issue a new code with the same conditions.
6. It can't combine with another discount
Discounts don't combine unless each one allows it under Combinations. If an automatic discount is already in the cart and the shopper's code isn't set to combine with it, Shopify applies whichever gives the shopper the better deal, and the shopper sees "Discount couldn't be used with your existing discounts." More on this below.
How do discount combinations and limits work?
A customer can use up to 5 product or order discount codes and 1 shipping discount code on the same order, but only if every discount involved is set to combine with the others. Shopify sorts discounts into three classes:
| Combination | Who can use it |
|---|---|
| Order discount + free shipping | All stores |
| Product discount + free shipping | All stores |
| Product discount + product discount on different items | All stores |
| Product discount + order discount, or order + order | Stores that meet Shopify's eligibility conditions |
| Two product discounts on the same item | Shopify Plus, with matching tags on both discounts |
| Two shipping discounts on one order | Not possible |
A few rules explain most "wrong amount" complaints:
- Order of calculation. Product discounts apply first, then order discounts, then shipping discounts. Two percentage order discounts are each calculated on the original subtotal.
- Best discount wins. When discounts can't combine, Shopify applies the best one for the cart. A shopper who enters a 10% code on top of a 15% automatic discount may see their code ignored, which is correct behavior.
- Automatic discount cap. A store can have at most 25 active automatic discounts, app discounts included.
- Sale prices. A code takes its percentage off the current price. A product already reduced from $50.00 to $40.00 with a compare-at price costs $32.00 with a 20% code, not $30.00.
If you want a code to stack with your sitewide sale, open both discounts and check the matching boxes under Combinations on each. Ticking it on one side isn't enough.
Why is there no discount code box at checkout?
Shopify lists four causes. The store has no active discount codes, the checkout came from a draft order invoice or link (customers can't enter codes there by default), the shopper uses Shop Pay and hasn't logged in to it yet, or a third-party app that changes pricing or checkout is hiding the field.
The first one surprises merchants after a sale ends: once the last code expires, the field disappears for everyone. For draft orders, apply the discount to the draft yourself before you send the invoice.
Other cases: Buy X get Y, free shipping, POS and links
Some discount types fail in their own ways.
- Buy X get Y. The free or discounted "get" item is never added to the cart automatically; the shopper must add it. If that item is sold out, the discount can't be used. These discounts can't be applied at checkout in retail locations on POS Lite, and admin discounts don't apply on the post-purchase page.
- Free shipping. It can be limited to certain countries, and Exclude shipping rates over a certain amount leaves pricier rates out. A shopper choosing express shipping or an excluded country sees no discount.
- Sales channels. Discount codes work on every sales channel you've set up, and you can't restrict them by channel. Automatic discounts are different: they don't apply on POS unless you turn on POS access, which needs POS Pro locations.
- Shareable links. Promote > Get a shareable link applies a code to the shopper's next cart, but links and QR codes only work while the discount is active. Shoppers can click Remove discount at checkout, and opening the link again reapplies it.
- App discounts. A discount created by an app may be managed in that app's settings, not on the Discounts page.
How to test discount codes before a sale
Recreate the shopper's cart and apply the code yourself. It takes two minutes per code and catches nearly every problem above. Before a big sale, run this for every code you'll promote:
- Go to Discounts, open the code and confirm Active dates in your store's time zone (check Settings > General).
- Add an eligible product and an ineligible one to a cart, at a total just under and just over the minimum.
- Apply the code with your sitewide automatic discount active, to confirm Combinations.
- Try it from a market or customer segment it shouldn't work for, if it has Eligibility limits.
- Note the total uses and per-customer setting, and decide what support says when the cap runs out.
Write down each code's terms in one place so whoever answers shoppers can quote them. For the rest of the season's support plan, see Black Friday customer service on Shopify.
How Help Pilot helps
A shopper with a code that won't apply usually wants an answer before they give up on the cart. Help Pilot, an AI chat and voice assistant for the Shopify storefront made by NewClick (not by Shopify), answers product, policy and order status questions from your live store data at any hour. If you turn on its discount option, it can offer a single-use code that expires within the hour, capped at a percent you set (never above 50%), one per conversation.
It can't see why a specific code failed at checkout or change a discount's settings. When a shopper needs a person, it marks the conversation Escalated in your admin and shares your support email, so you can check the discount with the error message in hand. Shopify's own Sidekick in the admin can also help you troubleshoot discount settings.
Frequently asked questions
Why is my Shopify discount code not working? Usually because of one of the discount's own settings. It may not be active yet or has expired, the cart may not contain the products it applies to, a minimum purchase amount or quantity isn't met, the customer or market isn't eligible, the usage limit ran out, or it can't combine with a discount already in the cart.
What does "discount code isn't valid for the items in your cart" mean on Shopify? The code exists and is active, but none of the products in the cart are ones it applies to. Check Applies to on the discount: it may be limited to specific products, collections or variants, or to one-time purchases rather than subscriptions.
Why does Shopify say a discount code has already been used when no order was placed? An unfinished checkout can hold the code. Shopify holds a use when the order is submitted and releases it when payment succeeds or fails, but if a payment provider doesn't report a failure, the hold stays. Deactivating, reactivating or renaming the code doesn't reset it; give the shopper a new code with the same terms.
Can customers use more than one discount code on Shopify? Yes, if the discounts allow it. Customers can use up to 5 product or order discount codes and 1 shipping discount code per order, and each discount must be set to combine with the others under Combinations. When they can't combine, Shopify applies the best discount for the cart.
Why is there no discount code box at checkout? Shopify lists four causes: the store has no active discount code, the checkout came from a draft order invoice or link, the shopper is using Shop Pay and hasn't logged in yet, or a third-party app that changes pricing or checkout is hiding the field.