Skip to content
infosoftix

Shopify Discount Code Not Working? Why It Fails and How to Fix It

Shopify discount code not applying at checkout, or the discount box missing? Check status and dates, minimum requirements, eligibility, usage limits and combinations.

Written by Sanjoy BiswasFounder, Infosoftix · 20 years in software, 2,000+ projects

Updated

Few things annoy a shopper more than a discount code that doesn't work. They saw the offer in an email or an ad, they typed the code, and checkout says it isn't valid. Some leave, some message you, and many never come back. The good news is that Shopify discount codes almost always fail for a reason you can find in the discount's own settings. This guide walks through the checks in the order Shopify itself applies them.

What Shopify checks before a discount code applies

Start with the exact error

Ask the customer, or reproduce it yourself, and note the exact message. "Enter a valid discount code" usually means the code doesn't exist, is misspelled, or isn't active. A message about requirements means the cart doesn't qualify. A code that is accepted but then disappears usually points to a combination rule or an app. Shopify codes are not case-sensitive, so capital letters are rarely the problem, but extra spaces and look-alike characters (O and 0, I and 1) are.

Cause 1: Status and dates

In Discounts, check that the discount is Active. A discount can be scheduled to start later, can have an end date that has passed, or can be accidentally set to end at midnight in a different time zone from your customers. Check the store's time zone in Settings → General, because start and end times follow it.

Cause 2: Minimum requirements and eligible products

This is the most common cause. A code with a minimum purchase amount or minimum quantity won't apply until the cart meets it, and on some setups that amount is checked before shipping and taxes. A code limited to specific products or collections only applies to those items; if the shopper's cart has none of them, the code fails. Check whether the collection is automated and the product no longer matches its conditions.

Cause 3: Customer eligibility and usage limits

Discounts can be limited to specific customers or customer segments. A shopper who isn't logged in, or who uses a different email, won't match. Limit to one use per customer blocks a second order with the same email, and a total usage limit stops the code once it has been used that many times. Check the discount's usage count in the admin.

Cause 4: Combinations with other discounts

Shopify groups discounts into product, order and shipping discounts, and each discount has settings for which other discounts it can combine with. If an automatic discount is already applied, a code that isn't allowed to combine with it can be refused, or the customer may get the larger of the two instead. Review the Combinations section on both discounts.

When a Shopify discount code won't apply

Cause 5: Sales channels, markets and subscriptions

Check where the discount is available: online store, Point of Sale or other channels. If you sell in several markets, test from the shopper's country. Products sold as subscriptions may need the discount set to apply to subscriptions as well, depending on your subscription app.

Cause 6: The discount field is missing

If shoppers can't find the field at all, look at checkout customizations and apps. Some checkout or cart apps hide the discount field, and some themes show a cart-page discount box that behaves differently from checkout. Test in a private window without apps that change checkout.

How to test it

  1. Open a private browser window, not logged in as staff.
  2. Add a product that should qualify, go to checkout and enter the code.
  3. Repeat logged in as a customer, and from a shareable link (yourstore.com/discount/CODE).
  4. Compare with a second, simple test code with no conditions. If that works, the original code's settings are the problem.

Example: the code that worked for some and not others

Example, for illustration. A store runs "SPRING20" for 20% off a spring collection. Half of the customers report it fails. The collection is automated by the tag "spring", and new arrivals were never tagged, so they aren't in the collection. Tagging the new products fixes the code for everyone.

What to have ready before you contact us

  • The discount code and what the customer saw.
  • A screenshot of the discount's settings.
  • Any apps that change the cart or checkout.
  • Staff or collaborator access to Shopify. Never share your password.

Keep discounts easy to manage

Most discount problems come from old codes piling up. Give each code a clear name, an end date and a note of where it was shared. Once a month, look at the list of active discounts and end anything no longer promoted. When you change a collection, product tags or prices, remember that discounts tied to them change too, and test the codes you are currently advertising.

Get it fixed

We fix discount and checkout problems as custom Shopify work at $25–$49 per hour; most discount issues take an hour or two. We find the rule or app causing it, fix it, and test with real checkouts. See our Shopify development services, or if your WooCommerce coupons misbehave, read WooCommerce coupon not working. Book a call.

Frequently asked questions

Why does Shopify say my discount code is not valid?

Usually the code is inactive, scheduled for later, expired, misspelled, or has reached its usage limit.

Are Shopify discount codes case-sensitive?

No. Extra spaces or look-alike characters such as O and 0 are more likely to cause trouble.

Why does the code work for some customers but not others?

Check customer eligibility, one-use-per-customer limits, eligible products and minimum requirements.

Can a discount code be used with an automatic discount?

Only if both discounts are set to combine. Otherwise Shopify applies one of them.

Why is the discount field missing at checkout?

An app or checkout customization may hide it. Test in a private window without apps that change checkout.

Does the minimum purchase include shipping and tax?

Minimum requirements are based on the cart's products, so shipping and taxes usually don't count toward them.

How do I share a code so it applies automatically?

Use a shareable discount link (yourstore.com/discount/CODE); the code is applied when the shopper reaches checkout.

How much does a Shopify discount fix cost?

It's custom Shopify work at $25–$49 per hour; most discount issues take an hour or two.

Tell us what you need

Call, WhatsApp or send a message. We reply within a few hours, Saturday to Thursday.