# Why are Shopify discount codes not applying at checkout?

Source: https://storefrontfixguide.com/blog/2026-10-14-shopify-discount-codes-not-applying.html

Reviewed October 14, 2026


Most rejected codes fail a rule you set and forgot: an expiry date, a minimum spend the cart does not meet, specific products or collections the cart does not contain, a one use limit, or a ban on combining with other discounts. Test the code yourself in a private window with the exact cart the customer described.

## Start by reproducing the exact failure

Open a private browser window, add the same products the customer has, and enter the code exactly as they did, including capitals. Half of discount mysteries end here, with a typo in the code as shared, an expired campaign, or a cart that quietly misses a condition.

Read the error message literally. Shopify distinguishes between a code that does not exist, one that is not active yet, and one whose conditions the cart does not meet. Each points to a different fix.

## Dates, usage limits, and activation traps

Check the active dates first, including the start date. Codes created for a sale that begins tomorrow will fail today, and codes left with an old end date fail forever. Time zones in your store settings decide when a date flips, which matters for midnight launches.

Usage limits bite in two places: total uses across the store, and one use per customer. A loyal customer testing your code twice may have silently used up their single use on the first test order.

## Product and collection conditions are the usual culprit

Codes limited to a collection reject carts that contain only items outside it, and sale items are often excluded by a separate setting. Gift cards, bundles built by apps, and draft order items can also sit outside the products a code expects.

Watch for the reverse case: a code set to apply to specific products will not discount shipping or other lines, which customers read as the code doing nothing when their product was already on sale.

## Stacking rules reject codes that look fine

If a code cannot combine with other discounts, any automatic discount running in the store will block it, including a quiet free shipping promotion from an app. The customer sees a rejection with no mention of the invisible discount causing it.

Decide stacking on purpose. Stackable storewide sales with code exclusions clearly written in the promotion copy produce far fewer support messages than a blanket ban discovered at checkout.

## Fix the message, not just the code

When a code legitimately does not apply, the promotion that shared it should have said why: the minimum spend, the included products, and the end date in the same email or banner. Most anger comes from surprise, not from the terms themselves.

Keep a one page list of live codes with their rules where support can see it. During a sale weekend, that page resolves most discount tickets in one reply instead of a chain of screenshots.

## Frequently asked questions

### Why does my code work for some customers and not others?

Usually a per customer limit, a minimum spend some carts miss, or product conditions. Ask the customer for their cart contents and test that exact combination before changing the code.

### Can a discount code conflict with an automatic discount?

Yes. If the code is set not to combine, an active automatic discount will block it at checkout. Either allow combinations for that code or pause the automatic promotion during the campaign.

### Do discount codes work on gift cards and sale items?

Often not by default. Many stores exclude gift cards, and sale items may be excluded if the code is set to skip already discounted products. Check the code settings and state exclusions in the promotion.

### How do I test a code without using up a customer use?

Use a private window and your own test customer account, and place a draft or a fully discounted test order you cancel afterward. Testing logged in as the store owner can behave differently from a real customer checkout.
