Shopify discount code not working at checkout
By Michael Broadbridge. Last checked 16 November 2026 on Shopify admin, Shopify checkout.
Short answer
Open the code in Discounts and check four things: it is Active and inside its dates, the cart meets the minimum purchase, the products and customer are eligible, and it has uses left. If the customer has another discount, both must be set to combine. The checkout message shows which check to start with.
Symptoms
You may see one of these messages:
Enter a valid discount code
Unable to find a valid discount matching the code entered
discount code isn't valid for the items in your cart
discount code has already been used
Some discount codes couldn't be used together. We applied the best combination
Discount couldn't be used with your existing discounts
There is 1 error with this discount code: Item entitlements exceeded max number
- The customer sees Enter a valid discount code for a code you created.
- The code works on some carts but not others.
- The checkout says the code isn't valid for the items in the cart.
- A code shows as already used, but the customer has no order.
- A code is replaced by an automatic discount, or two codes will not apply together.
Causes, most likely first
The code is not active
It has expired, has not started yet, or was deactivated. Start and end times use the time zone set in your Shopify admin. A rollout can also deactivate a discount for some customers.
The cart does not meet the minimum
Minimum purchase amounts count product prices only, not shipping or tax. For a discount on specific products, only those products count.
The products or customer are not eligible
The code applies to specific products or collections, or only to specific customers, customer segments or markets.
The usage limit has been reached
The code has a total limit or a one per customer limit. An unfinished checkout can hold a use of the code.
Another discount takes priority
Discounts only combine when each one allows it. Where they cannot combine, Shopify applies the best discount for the customer, which can make a code look ignored.
How to fix it
Check the status and dates
- Open your discounts and search for the code.Menu:
Discounts - Check the status. A code that does not exist or is not active gives Enter a valid discount code. A deactivated code gives Unable to find a valid discount matching the code entered.
- Open the code and check Active dates. Start and end times use the time zone in your Shopify admin, so a code set to start on a date starts at midnight in that time zone.
- To bring back an expired code, reactivate it from its page. It becomes Active with no end date.
- If the discount page shows a rollout, check whether the rollout deactivates the code for this customer. An active rollout that deactivates a discount overrides the code’s own dates.
- Avoid special characters in code names. Shopify advises against them so the code is added correctly to checkout links.
Check the minimum purchase and the products
- In the Minimum requirements section, note any Minimum purchase amount or Minimum quantity of items.
- Minimum purchase amounts count product prices only. Shipping and taxes are not included.
- For a discount on specific products or collections, only those items count towards the minimum, at their price after any earlier product discounts.
- Purchased gift cards do not count towards the minimum unless the gift card product is selected for the discount. Most discounts cannot be used to buy gift cards.
- In Applies to, check the products in the cart are in the selected products or collections. If none are, the customer is told the code isn't valid for the items in the cart.
Check who can use it and how often
- In the Eligibility section, see whether the code is for All customers, Specific customers, Customer segments or Markets.
- Customer segment discounts only work for existing customers. A first-time customer joins the segment after their first order is complete.
- For a Markets code, check the customer’s country is in one of the selected markets.
- Under Maximum discount uses, check whether Limit number of times this discount can be used in total or Limit to one per customer is ticked. One per customer is tracked by email address or phone number.
- Compare the total limit with the number of times the code has been used. The Discounts list can be filtered by Times used.
Fix a code marked as already used
- Search for the customer to see whether they already used the code.Menu:
Orders - If there is no order, an unfinished checkout is holding the code. A declined payment releases the hold, but a checkout that never finishes keeps it.
- Create a new code with the same conditions and send it to the customer. Deactivating, reactivating or renaming the old code does not reset its usage.
- If this keeps happening, contact your payment provider or the app developer. A provider that does not report failed payments correctly can leave codes held.
Check combinations and automatic discounts
- Open each discount involved and look at the Combinations section. Discounts do not combine unless each one allows the other’s class: product, order or shipping.Menu:
Discounts - Review your active automatic discounts for any that apply to the same products. When discounts cannot combine, the best one for the customer is applied.
- Customers can use up to 5 product or order discount codes and 1 shipping discount code on one order. A store can have up to 25 active automatic discounts, including app discounts.
- Products in a Buy X get Y discount cannot take further product discounts. On Shopify Plus the customer gets product can.
- Combining product discounts with order discounts, or order discounts with each other, needs Checkout Extensibility and no checkout.liquid customisations.
Check apps and express payment buttons
- Apps that provide discounts with Shopify Functions can reject a code. The customer then sees the app’s own message, so contact that app’s developer.
- A pricing or checkout app can stop the discount code field showing at all. Shopify’s advice is to uninstall discount or checkout apps temporarily to test.
- Customers paying with Shop Pay must log in to Shop Pay before the discount code field shows.
- With Apple Pay, the customer must enter the code on the checkout page before clicking the Apple Pay button. An Apple Pay button on the cart page skips the code field.
- Discount combinations are not available on Facebook, Instagram, Google or other external checkouts.
Test the code
- Open your store in a private browser window. Add a product the code covers and one it does not.
- Go to checkout, enter an address in the right market and enter the code.
- Check the discount shows on the right items, then close the checkout before paying.
If that didn’t work
A discount worth 0
Discounts with a value of 0 or 0% might not work correctly at checkout. If you need a minimal discount, use at least 1%.
Too many products on the code
A code can apply to up to 100 specific customers, products and variants. Beyond that the admin shows "There is 1 error with this discount code: Item entitlements exceeded max number" Use a collection instead.
The code was accepted but the payment failed
Open the abandoned checkout and read its Timeline. "A discount code or gift card can no longer be used" is one of the reasons Shopify records there.
When to get help
If the settings look right and a test checkout still rejects the code, or app discounts fail with messages you do not recognise, stop editing live discounts while a sale is running. Each change applies straight away to every customer. Have the discounts, combinations and apps checked together.
What a developer would check
- Combination settings and classes for every active code and automatic discount.
- Discount Functions from apps that can reject or replace codes.
- Eligibility, markets and rollouts against the customer and address that failed.
- Usage counts and codes held by unfinished checkouts.
Describe the problem in your own words and WebFixed gives you an instant fixed quote. Nothing is charged until you accept it.
Related questions
- Does a Shopify discount code apply to products already on sale?
- Shopify treats discounts as separate from sale pricing with compare-at prices. If you do not want a code used on sale items, set Applies to on the code to a collection that leaves them out.
- Why can’t customers see the discount code box at checkout?
- The store needs at least one active discount code. Draft order invoices hide the field by default, Shop Pay customers must log in first, and some pricing or checkout apps can hide it.
- What time does a Shopify discount code start and end?
- At the start and end times you set, in the time zone shown in your Shopify admin. A code with a start date of 27 November starts at midnight in that time zone.
Written by Michael Broadbridge, Founder of Webgro. First published 23 November 2026. Last checked 16 November 2026 on Shopify admin, Shopify checkout.