Shopify Automatic Discount vs Discount Code: Which to Use

The difference between a Shopify automatic discount and a discount code is who triggers it. An automatic discount applies itself in the cart and at checkout to every customer who meets its conditions; a discount code applies only when the customer types it in. Use automatic discounts for offers everyone should get, such as a site-wide sale, and codes for offers meant for a specific group, such as email subscribers or a partner’s audience.
The rules below come from Shopify’s Help Center pages on automatic discounts, discount codes and discount combinations, read on October 23, 2026.
Side by side
| Automatic discount | Discount code | |
|---|---|---|
| How it applies | By itself, once the cart meets the conditions | When the customer enters the code at checkout |
| Typical use, per Shopify | Site-wide sales, collection promotions, bulk purchases | Email campaigns, partnerships |
| Types | Amount off, free shipping, buy X get Y, app-based | The same types, set per code |
| How many | Up to 25 active, including app-based ones | Up to 20,000,000 unique codes per store |
| Who gets it | Every eligible customer | Whoever has the code |
| Usage limits | Dates, minimum purchase, customer eligibility; no usage count | Dates, total uses, once per customer, minimum order, products |
| Post-purchase page | Doesn’t apply | Can’t be applied |
| On Shopify POS | POS Pro locations only | Yes, in person |
Shopify describes the trade-off this way. Codes can create engagement, exclusivity and urgency, but a forgotten code can lead to an abandoned cart, while automatic discounts “can help simplify your checkout and encourage higher conversion rates”. In our reading that’s because there’s nothing to remember.
When to use each
An automatic discount fits when the offer is public and you want nobody to miss it:
- a store-wide or collection sale announced on the home page;
- volume offers, such as 3 for 2 or 10% off 5 or more, where in our view seeing the discount appear in the cart encourages the next item;
- free shipping above a threshold.
Customers have to add every eligible item to the cart themselves, including the free item in a buy X get Y offer; the discount doesn’t add it for them. Say on the product page what goes in the cart.
A discount code fits when the offer should stay with a group:
- a welcome code for new subscribers;
- a code for an influencer or partner, so the Sales by discount report shows what that audience bought;
- one-off codes for customer service, with a usage limit of one;
- an offer limited by date or by number of uses.
Can they combine?
An automatic discount and a code can apply together when each allows the other’s class (product, order or shipping) in its Combinations section. When they can’t combine, Shopify applies whichever gives the customer the better price, so a code replaces an automatic discount only when it saves the customer more. Which combinations your store can use, how they’re calculated and why a code gets rejected are in combine discounts on Shopify.
Limits to know
- 25 active automatic discounts, including discounts from apps. A store running several apps that create discounts can hit this without noticing.
- 100 entitlements per code. A code can name up to 100 specific customers, products and variants.
- Time zone. Start and end times follow the time zone set in your admin.
- Type is fixed. You can’t change a discount’s type or method later; delete and recreate it.
- No 0% discounts. A $0 or 0% discount might not work at checkout; use at least $0.01 or 1%.
- Buy X get Y. Below Plus, products in a buy X get Y discount can’t receive another product discount; the best value overall discount is applied.
For writing and distributing codes, see Shopify discount codes, and for running a time-limited sale, Shopify flash sale. Both sit in the pricing and sales hub.
FAQ
Should a welcome offer be a code or an automatic discount? A welcome offer for new subscribers works better as a code in our view, because only people who signed up should get it. An automatic discount would give the same price to every visitor.
How many automatic discounts can I have on Shopify? A store can have up to 25 active automatic discounts at a time, and that total includes discounts created by apps.
Do automatic discounts work on the post-purchase page? Automatic discounts created in the Shopify admin don’t apply to the post-purchase page at checkout, and discount codes can’t be applied there either.
Which is better for tracking a campaign? A discount code is easier to track, because the Sales by discount report shows how often each code is used. Give each channel or partner its own code.