A discount link that doesn't apply its code at checkout is usually caused by the discount's own settings. The most common reasons are that the discount is inactive, the customer's cart doesn't meet the conditions for the discount, or the code conflicts with another discount already applied. Checking the discount's status and rules in your Shopify admin is the first step to fixing the problem.
Key takeaways
- Shareable discount links and QR codes will only work for discounts that are currently active. (Managing and editing your discounts)
- The customer's cart must meet all of the discount's conditions, such as a minimum purchase amount or containing specific products. (Discount codes, Why Your Shopify Discount Link Isn't Applying and How to Fix It)
- A code from a link might not apply if its settings prevent it from combining with an automatic discount or another code already in the cart. (Combining discounts, Discount codes from shareable links can now combine with existing)
- Shopify limits checkouts to a maximum of five product or order discount codes, plus one shipping discount. (Combining discounts, Discount codes FAQ)
- Testing your link in a private browser window helps avoid issues where your browser has cached an old or different discount. (Managing and editing your discounts, Why Your Shopify Discount Link Isn't Applying and How to Fix It)
What you are seeing
You send a customer a special link that promises a discount, but when they reach the checkout, the price is unchanged. The discount code might not appear at all, or it might show up briefly and then vanish. Instead of a reduced price, the customer might see a message like Enter a valid discount code or _DISCOUNT_CODE_ discount code isn't valid for the items in your cart. (Discount codes FAQ) This experience can lead to abandoned carts and frustrated customers who expected a deal.
Likely causes for a failing discount link
When a shareable discount link fails, the problem almost always lies in the discount's setup or how it interacts with the customer's cart. Even when passed from a link, Shopify's system checks every code against its rules before applying it. According to Cartrocket, here are the most common reasons a link doesn't work.
- The discount is not active. A shareable link will only work for discounts that are currently active. (Managing and editing your discounts) A discount may be inactive because its end date has passed, its start date is in the future, or it has been manually deactivated. (Managing and editing your discounts, Discount codes FAQ)
- The cart does not meet the discount's conditions. Many discounts have specific requirements that must be met before they can be applied. These can include a minimum purchase amount, a minimum quantity of items, or being applied only to specific products or collections. (Discount codes, Why Your Shopify Discount Link Isn't Applying and How to Fix It) If the customer's cart doesn't satisfy these rules, the discount won't apply.
- The customer is not eligible. You can restrict discounts to specific markets, customer segments (like new customers), or even individual customers. If the person using the link doesn't fall into the eligible group, the code will be rejected at checkout.
- The discount conflicts with another offer. A customer's cart might already have an automatic discount or another code applied. If the discount from your link is not set up to combine with other discount classes, Shopify will either apply the single best discount for the customer or show an error message. (Combining discounts, Discount codes FAQ) Discount codes from shareable links follow the same combination rules as manually entered codes. (Managing and editing your discounts, Discount codes from shareable links can now combine with existing)
- Usage limits have been reached. Discounts can be limited to a total number of uses or to one use per customer. If the code has hit its limit, it will no longer work. An unfinished checkout can sometimes hold a code, making it appear used even if the customer didn't complete the purchase.
- Your browser is holding an old code. When you are testing, your own browser might be the issue. Shopify saves a discount from a shareable link to the browser's session, so it stays applied. If you're testing multiple links, an old code might still be active. To get a clean test, you can clear your browser's cookies for your store or use a private browser window. (Managing and editing your discounts, Why Your Shopify Discount Link Isn't Applying and How to Fix It)
- The link format is incorrect. To direct customers to a specific page like a collection, Shopify's help documentation advises modifying the link's URL. The standard format is to change the end of the URL from
/discount/codeto/discount/code?redirect=/new-path. An incorrectly structured URL might fail to pass the discount code to the checkout.
How to fix a discount link that isn't applying
To get your discount link working, you'll need to systematically check the discount's settings in your Shopify admin. Follow these steps to diagnose and solve the problem.
In Shopify, follow Managing and editing your discounts.
Example
You generate a shareable link. A customer clicks it, adds a t-shirt from the Tops collection to their cart, and goes to checkout. The discount does not apply because the t-shirt is not in the Beachwear collection. To fix this, you could edit the discount to include the Tops collection, or the customer could add an item from the Beachwear collection to their cart.
When to ask for help
If you've gone through all the troubleshooting steps and the discount link still isn't working correctly, it might be time to seek assistance. If the issue seems to be with core Shopify functionality, you can contact Shopify Support. If the discount is created or managed by a third-party app, you should reach out to that app's developer for support, as they will know how their app interacts with Shopify's discount engine. (Discount codes FAQ)
Frequently asked questions
Why does a discount code show as "already used" for a customer who never finished their order?
This can happen when a checkout is started but not completed. (Discount codes FAQ) Shopify holds the discount code against its usage limit until the payment either succeeds or fails. If the checkout is abandoned, the hold can remain. To solve this for the customer, you can create a new, single-use discount code for them.
Can a customer use more than one discount code on a single order?
Yes, but only if you have configured your discounts to allow combinations. (Combining discounts) Each discount must be set to combine with the others' classes. Customers can use a maximum of five product or order discount codes plus one shipping discount code per order.
How do I make a discount combine with free shipping?
When you create or edit a product or order discount, find the section that controls combinations. (Combining discounts) Check the box next to Shipping discounts. You will also need a separate free shipping discount that is active in your store for the combination to work.
What's the difference between a shareable link and a cart permalink?
A shareable link, which you get from the promotion options on a discount's page, applies a single discount code and sends the customer to a page on your store, like the homepage or a collection. (Managing and editing your discounts) A cart permalink is a manually constructed URL that can pre-load specific products into the cart and can also include one or more discount codes.
Why does my discount link work but apply the wrong discount?
If you have multiple active discounts for the same product, Shopify applies the most recently created one to shareable links for that product. (Managing and editing your discounts) Also, if a customer's cart qualifies for multiple discounts that can't be combined, Shopify automatically applies the one that gives the customer the best deal. (Combining discounts, Discount codes FAQ)
Can I limit a discount to one use per customer?
Yes. When creating or editing a discount, in the section for usage limits, you can select the option to limit it to one use per customer. (Discount codes) This checks against the customer's email address or phone number at checkout to enforce the limit.