Why is your Shopify discount code not working?
October 1, 2026
Almost always a configuration detail, not a bug. Discount codes fail for a short list of reasons: the code has not started or has expired, usage limits are hit, the customer or products do not qualify, or another discount is blocking combination. Work the list in order and you will find it in minutes.
Check the schedule first
Open the discount in your Shopify admin and look at the active dates. Codes set up for a future sale will reject with no useful error if a customer tries them early, and expired codes fail silently from the shopper’s perspective. This is the most common cause and the fastest to check, so start here every time.
Watch for timezone confusion. The start and end times use your store’s timezone, and a sale advertised as starting “midnight” may begin hours before or after your customers expect. If a launch-day code fails in the first hours, the schedule is the prime suspect.
Usage limits and customer eligibility
Shopify lets you cap total uses and uses per customer, and both limits fail quietly. A code with a 100-use cap that went out in an email to 5,000 people will die within the hour, and the shoppers who miss out see only a generic error. Check the usage count against the limit before anything else.
Customer eligibility is the next filter. Codes restricted to specific customer segments reject everyone else, and the error message does not explain why. If the code works for you in testing but fails for real customers, test with an account that matches the target segment, or no account at all if guests are excluded.
Product and order conditions
Minimum purchase requirements are a frequent culprit, especially when the requirement is a subtotal that the customer’s cart does not meet after other discounts. Check whether the minimum applies before or after other discounts, because that ordering changes which carts qualify.
Product and collection restrictions fail in subtler ways. A code limited to a collection will reject a cart containing the right product in the wrong variant if the variant was added to the collection incorrectly. Verify the actual items in a failing test cart against the discount’s conditions line by line.
The combination problem
Shopify applies one order-level discount and one product-level discount per order by default, and automatic discounts can silently consume the slot your code needs. If a customer has an automatic discount applying at checkout, their code may be rejected even though the code itself is perfectly valid.
The fix is in the discount settings: decide which discounts can combine and set the priority explicitly. For promotions where stacking matters, test the exact combination a customer would use, not each discount in isolation. Combination failures only appear in combination.
When an app is the culprit
Discount apps, loyalty apps, and checkout customization apps can all interfere with native codes. If the code is configured correctly in the Shopify admin but still fails, disable the discount-related apps one at a time and retest. App conflicts are the most common cause of failures that survive the configuration checklist.
Also check for script-based discounts from the old Shopify Scripts era or Functions-based discounts that apply automatically. These can change cart totals in ways that break minimum-purchase conditions or consume combination slots invisibly.
Preventing it next time
Test every code the way a customer will use it: as a guest, on mobile, with the exact products in the promotion, and in combination with any automatic discounts running at the same time. A two-minute test order catches nearly all of these failures before customers do.
For big promotions, set the usage cap with headroom and monitor it during the sale. A code dying mid-campaign generates more complaints than a code that never existed, because the shoppers who saw it advertised feel misled. Monitor, raise the cap early, or close the promotion cleanly.