Reviewed November 9, 2026
Discount Code Not Applying at Checkout: The Five Settings to Check
Check five settings in order: the code's start and end dates, the total usage limit, the minimum purchase requirement, which customers are eligible, and which products are eligible. One of those five is the cause in almost every case, and the checkout error message will not tell you which one.
A customer types the code, hits apply, and nothing happens. No discount, no useful error, just the full price staring back. The merchant tests it and gets the same result. The code exists, it is spelled correctly, and it does nothing, which is the most frustrating kind of broken.
The cause is almost always one of five settings, and the checkout will not tell you which one. The code's dates, its usage limit, its minimum purchase, its customer eligibility, or its product eligibility. Check them in order and the answer appears in minutes.
Dates and usage limits
The first check is the active window. A code with a start date in the future, or an end date that passed yesterday, does nothing. The dates are easy to set wrong by a day, especially across time zones, and the code that was supposed to start Monday morning starts Monday at midnight UTC instead, which is Sunday evening for the customer.
The second check is the usage limit. A code with a total usage limit of 100 stops working on the 101st order, silently. A code with a once-per-customer limit stops working for the customer who already used it, and the error message does not say so. Check the usage count in the discount's performance view before assuming the code is broken.
Both of these have the same signature: the code worked yesterday and does not work today. A setting that was fine and then expired is the cause, and the fix is to extend the dates or raise the limit. The code itself was never broken.
Minimum purchase and eligibility
The third check is the minimum purchase requirement. A code that needs a 50 dollar order does nothing on a 48 dollar cart, and the checkout does not explain that. The customer sees a code that does not work. The merchant sees a code that is working exactly as configured. Both are right, and the gap is the missing explanation.
The fourth check is customer eligibility. A code limited to a customer segment, new customers only, or a specific tag does nothing for everyone else. The merchant who set the eligibility three months ago and forgot is the merchant who gets the ticket. Check the eligibility setting before testing the code as yourself, because you may not be in the eligible group.
The fifth check is product eligibility. A code limited to a collection, a product type, or excluding sale items does nothing on a cart that contains none of the eligible products. A code that excludes sale items fails on a cart full of sale items, which is the most common version of this failure, because the customers most likely to use a code are the customers buying the sale items.
Testing the code the way the customer does
Test the code in the customer's exact situation, not in the ideal one. Use the same cart contents, the same customer account, the same shipping address if it matters. A code that works on a test cart with a different product is not a code that works. The test has to reproduce the failure, or it proves nothing.
When the cause is found, fix the setting and test again with the same cart. Then tell the customer, with the reason, not just that it works now. A customer who understands why the code failed is a customer who will try the next code. A customer who gets a silent fix will assume the store is broken and the next code will fail too.
The prevention is a checklist for every code before it goes out. Dates, usage limit, minimum purchase, customer eligibility, product eligibility, each confirmed against the campaign it belongs to. Five lines, two minutes, and the ticket never arrives.
Related reading
For the background behind “Discount Code Not Applying at Checkout: The Five Settings to Check”, these earlier guides help: Your Card Was Declined: What the Gateway Code Actually Means, 404s After a Theme Change: Where Shopify Redirects Actually Live, and Checkout Extensibility Broke Your Custom Code: Where the Old Scripts Went.
Frequently asked questions
Why does my discount code work for me but not for a customer?
Usually customer eligibility. The code may be limited to new customers, a segment, or a tag, and you may not be in the eligible group, or the customer may not be. Test the code logged in as the customer's account type, not as the store owner.
Can a discount code expire in the middle of a campaign?
Yes, if the end date passes or the total usage limit is reached. A code with a limit of 100 stops on the 101st order, silently. Check the usage count in the discount performance view and extend the dates or raise the limit.
Why does the code fail on a cart full of sale items?
Probably product eligibility. Many codes exclude sale items, and a cart full of sale items contains nothing eligible. Check the product eligibility setting and the exclusion list before assuming the code is broken.
Does the minimum purchase include shipping?
No, in most cases the minimum purchase is calculated on the product subtotal, before shipping and taxes. A 48 dollar cart with 5 dollar shipping does not meet a 50 dollar minimum. Check the subtotal, not the total.