E-commerce Optimization

Shopify Discount Code Not Working? 11 Fixes

Why a Shopify discount code fails at checkout, what each error message means, and where to check dates, limits, minimums, eligibility and combinations.

Denzil Sequeira
8 min read
Live exampleGentle Turn — WellnessInstall free
On this page

Important Notice: This content is for educational purposes only. Results may vary based on your specific business circumstances, industry, market conditions, and implementation. No specific outcomes are guaranteed.

When a Shopify discount code doesn't work, the cause is almost always one of the discount's own settings: its dates, its usage limits, its minimum purchase, the products or customers it applies to, or a combination rule. The message the shopper sees at checkout tells you which group to look at. Open the discount under Discounts in your Shopify admin and check the sections below in order.

What does the checkout error message mean?

Ask the shopper for the exact words. Shopify's messages map to causes:

  • "Enter a valid discount code." The code doesn't exist or isn't active right now: a typo, a code that hasn't started, or one that has expired.
  • "[CODE] discount code isn't valid for the items in your cart." The code exists, but it doesn't apply to what's in the cart.
  • "Some discount codes couldn't be used together. We applied the best combination." or "Discount couldn't be used with your existing discounts." A combination setting is stopping it.
  • "The [CODE] discount code has already been used." A usage limit has been reached, or an unfinished checkout is still holding the code.

Why is my Shopify discount code not working?

1. It hasn't started yet, or it has expired

Open the discount and read Active dates. Start and end times follow the time zone set in your Shopify admin, not the shopper's, so a code that "starts on the 26th" may not be live yet for a shopper in another country. A code with no end date doesn't expire.

2. The code was typed wrong

Spaces before or after the code, a zero for a letter O, or a copied full stop all break it. Shopify advises against special characters in code names. When you name codes, avoid lookalike characters; the coupon code ideas generator keeps them out.

3. The usage limit is used up

Check Maximum discount uses. A total limit stops the code after that many uses across all customers, and "Limit to one per customer" tracks each customer by email address or phone number. If a shopper says they never used it, search Orders for them first. If there's no order, an unfinished checkout may be holding the code; deactivating or renaming the code doesn't reset its history, so issue a new code instead.

4. The cart doesn't meet the minimum

Read Minimum requirements. A minimum purchase amount counts product prices only, not shipping or taxes. On a discount for specific products, only those products count toward the minimum. A shopper who counted shipping toward the minimum will find they are just under it.

5. It doesn't apply to those products

Look at Applies to. A code for specific products or collections does nothing for items outside them, which triggers the "isn't valid for the items in your cart" message. Check the variant too, if the discount names variants.

6. The customer isn't eligible

Read Eligibility: all customers, specific customers, customer segments or markets. A segment holds existing customers only, so a first-time shopper isn't in it until their first order is complete. A code limited to certain markets won't work for shoppers in others.

7. It isn't set to combine with another discount

Every discount has a class: product, order or shipping. Two discounts apply together only when both allow the other's class under Combinations. Even when combining is allowed, a shopper can use at most five product or order codes and one shipping code on an order. The discount combinations checker tells you whether two of your discounts will stack, and Shopify discount combinations explained goes through the rules.

8. An automatic discount is winning

When discounts can't combine, Shopify applies the one that gives the shopper the most, so their code can look like it "did nothing". Review your active automatic discounts, including ones created by apps; a store can have at most 25 active at once.

9. A free shipping code has extra limits

Check the Countries list and whether "Exclude shipping rates over a certain amount" is ticked. And if a product or order discount is already in the cart and the two can't combine, the product or order discount takes priority, with a message such as "You already have a better combination".

10. The items are already in a Buy X get Y deal

On every plan except Shopify Plus, products in a Buy X get Y discount can't take another product discount. Point the two at different products, or use an order discount instead.

11. The shopper can't find where to enter it

Codes are entered at checkout, and the field only shows when your store has at least one active code. Shoppers paying with Shop Pay need to log in to it first, checkouts from a draft order invoice don't offer the field by default, and apps that change checkout can hide it. If your theme's cart has no code box, shoppers asking how to apply a code "before checkout" need either to wait for checkout or to use a shareable discount link.

Try it

The countdown bar a shopper sees after winning a code

Only shoppers who got a code from one of your popups see it, with their own code and its real time left, on every page. Everyone else sees nothing. The code and time here are samples.

Your code WINTER-7K2P23:59:41 left

Reloading or coming back in the same browser shows the same time left. The bar closes 30 seconds before the code expires.

How do you apply a discount code before checkout?

Use Shopify's shareable link. Open the discount, click Promote, then Get a shareable link. Anyone who opens the link has the discount applied to their cart automatically, and you can point it at your home page, a collection or a product. It works only while the discount is active. Put the link in emails, social posts or a popup button instead of asking shoppers to type the code.

How do you check a code in two minutes?

  1. In your Shopify admin, open Discounts and click the code.
  2. Read Active dates against your store's time zone.
  3. Read Applies to, Minimum requirements and Eligibility against the shopper's cart.
  4. Read Maximum discount uses, then search Orders for the shopper.
  5. Read Combinations, and list any automatic discounts running at the same time.
  6. Test in a private window with a cart that should qualify.

How do you stop popup codes from causing these problems?

Most code complaints from popups are about codes shoppers forget, lose or try twice. If your codes come from Nudgesmart popups:

  • Turn on One code per shopper. A shopper who comes back and enters the same email gets the same code and deadline they were first given, not a new one, and once the code is used or expired the popup gives them nothing new. The one discount code per shopper guide explains when to use it.
  • Show the code where they shop. The countdown bar shows each shopper their own code and its real time left on every page until they use it or it expires. The discount code countdown bar tool previews one.
  • Email the code. Codes a shopper wins can go to them through your own Klaviyo or Mailchimp flow. See emailing shoppers the code they won.
  • Let the basket pick the tier. With spend-tier codes, codes never combine and the cart keeps the best code the basket qualifies for.
  • Watch the funnel. Each popup code is reported as displayed, copied and redeemed, so a gap between copied and redeemed points to a code problem worth checking against the list above.

New to discount popups? Start with how to add a popup to Shopify.

Questions merchants ask

Why does a discount code say it has already been used?

Either its usage limit has been reached or an unfinished checkout is still holding it. Search your orders for the customer; if there's no order, send them a new code with the same conditions.

Can a customer use two discount codes on one order?

Yes, if both codes are set to combine with each other's class. The most a shopper can use is five product or order codes and one shipping code per order.

Why can't customers see the discount code box at checkout?

The box only shows when at least one code is active. Shop Pay shoppers must log in first, draft order invoices hide it by default, and some checkout apps remove it.

Does a minimum purchase include shipping?

No. Shopify counts product prices only toward a minimum purchase amount; shipping and taxes are left out.

Tags

  • discount-codes
  • shopify
  • checkout
  • troubleshooting
  • coupons

Written by

Denzil Sequeira

Founder of Nudgesmart, the Shopify app he builds, and the person who answers its support email.

Put it into practice

Popups built for this

Each one is running live. Open one to see it on desktop, or install free and it is waiting in your template library.

Browse all templates
  • Multi-Step Flows · jewelry

    Maison — Gold
    Loading…

    Maison — Gold

    Multi-Step Flows · jewelry

    Demo only — nothing is saved, no code issued.

    Desktop view
    Loading…

    Maison — Gold

    Multi-Step Flows · jewelry

    Demo only — nothing is saved, no code issued.
    Install free
  • Video Popups · pets

    Pets — Bond
    Loading…

    Pets — Bond

    Video Popups · pets

    Demo only — nothing is saved, no code issued.

    Desktop view
    Loading…

    Pets — Bond

    Video Popups · pets

    Demo only — nothing is saved, no code issued.
    Install free
  • Countdown Timers · fashion

    Fashion — Countdown Salina
    Loading…

    Fashion — Countdown Salina

    Countdown Timers · fashion

    Demo only — nothing is saved, no code issued.

    Desktop view
    Loading…

    Fashion — Countdown Salina

    Countdown Timers · fashion

    Demo only — nothing is saved, no code issued.
    Install free
Free tools

Work out the numbers first

What should I call my discount code so shoppers remember it?