Skip to main content
Troubleshooting

A discount code isn't working at checkout

When Shopify won't accept a discount code, coupon or promo code at checkout, the cause is almost always one of the discount's settings.

Last updated 6 days ago

When Shopify won't accept a discount code at checkout, the cause is almost always one of the discount's settings. Work through the checks below in order. Most take a few seconds on the discount's page in Discount Magic: go to Discounts and click the discount's title.

To find the discount behind a code, type the code into the search box on Discount Magic's Home page (Search any discount, batch or code…). If you searched in Shopify and couldn't find the code, see Finding discount codes in Shopify.

Which plans include discount codes

Plan

Included

Free

✅ Included

Pro

✅ Included

Check the code exists in Shopify

Discount codes aren't case sensitive, so save10 and SAVE10 are the same code. Spaces and look-alike characters do matter, such as the letter O and the number 0.

A code can also be missing from Shopify because it hasn't been created yet:

  • The batch is still generating. Shopify creates codes in groups, one group after another, so a large batch can take minutes or hours. Codes that aren't created yet won't work. Check the batch's status in the Discount code batches section on the discount's page. See How long does code generation take? and Batch statuses explained.

  • The discount is a draft. A discount with the Draft status exists only in Discount Magic, so none of its codes work yet. In Discount Magic, go to Discounts and click the discount's title, then click Finish setup to generate its codes.

Check the discount is active

A code only works while its discount's status is Active.

  • Scheduled: the start date is in the future.

  • Expired: the end date has passed, or the discount was deactivated.

Start and end dates use your store's time zone, which is set in Shopify under Settings > General. Discount Magic updates a discount's status within about a minute of its start or end time.

Check Shopify has your latest changes

When you edit a discount, Discount Magic saves the change and then sends it to Shopify. If sending the change fails, the discount's page shows This discount didn't save to Shopify and the discounts list shows a Sync failed badge. Until the change reaches Shopify, checkout still uses the discount's previous settings.

Click Edit and retry on the discount's page to send the change again.

Check the customer is eligible

Look at the discount's Eligibility setting:

  • Customer segments or Specific customers: Shopify needs to know who the customer is. The customer must be signed in, or check out with the email address on their customer account. A segment only includes existing customers, so a first-time customer usually isn't in it yet.

  • Markets: the customer must be shopping in one of the markets you selected, which usually depends on their country.

Check the minimum purchase requirement

If the discount has a Minimum purchase amount or a Minimum quantity of items, the cart must reach it before the code applies. When a discount only applies to certain products or collections, only those items count toward the minimum.

Check the cart has eligible products

For an amount off products discount, at least one item in the cart must match Applies to. The item must also match the Purchase type: a discount for one-time purchases won't apply to a subscription, and the other way round.

Check the usage limit hasn't been reached

Under Maximum discount uses, a discount can be limited in two ways:

  • A total number of uses. On a discount with multiple codes, this limit applies to each code separately. For example, a limit of 1 makes every code single-use.

  • One use per customer. A customer who has already used the discount can't use it again, even with a different code from the same discount.

In Discount Magic, the Used column on the Discounts page shows the number of times each discount has been used.

Check whether another discount is already applied

If the cart already has another discount, such as an automatic discount or a second code, Shopify only applies both when they're allowed to combine.

Two discounts combine only when each one allows the other's type under Combinations. For example, an order discount and a product discount combine only if the order discount allows product discounts and the product discount allows order discounts.

When discounts can't combine, Shopify applies the one that gives the customer the best price, so the code may appear not to apply. Shopify also limits how many codes one order can use: up to 5 product or order discount codes and 1 shipping discount code.

If the discount code still isn't working

Send us a message from the Help menu in Discount Magic. To help us find the problem quickly, include:

  • The discount code and the name of its discount.

  • The message the customer saw at checkout, or a screenshot.

  • The approximate date and time it happened.

Frequently asked questions

Why does Shopify say a discount code isn't valid?

Usually because the discount isn't active yet, has expired, or the customer or cart doesn't meet its conditions. Shopify shows "Enter a valid discount code" when it can't find an active discount with that code, so check the code and the discount's status first.

Are Shopify discount codes case sensitive?

No. SAVE10, save10 and Save10 are the same code. Spaces and look-alike characters, such as O and 0, do matter.

Why does a code show as used when there's no order?

When a customer submits checkout, Shopify holds a use of the code until the payment succeeds or fails. If the payment never completes, the code can look used even though no order was placed. Deactivating, reactivating or renaming a discount doesn't reset its usage, so give the customer a new code instead.

Why is there no discount code box at checkout?

Shopify hides the discount code box when the store has no active discount codes. It can also be missing on draft order invoices, for some Shop Pay buyers who aren't signed in, and when another app changes the checkout.

Can a customer use two discount codes on one order?

Yes, if both discounts allow each other under Combinations. An order can use up to 5 product or order discount codes and 1 shipping discount code.

Was this helpful?

Still need help? Ask the team