Shopify Automatic Discount vs Discount Code: How to Choose
Shopify automatic discount vs discount code: learn what each method can and cannot do, and how to choose the right one for your next campaign.
How-to guidesThe diex team10 min read
Shopify asks for the discount type first, then for the method: Discount code or Automatic discount. The second question looks like a presentation detail. It is not. The obvious difference is that codes have to be typed and automatic discounts do not. That is true and almost useless, because it hides the configuration differences that decide whether your campaign works. Here is what each method can actually do, what you give up by picking the wrong one, and which method four common campaigns want.
Decide the method before you open the form
The method is not a presentation choice you can change later without consequences. It changes which fields exist on the form.
Switch a planned influencer campaign from a code to an automatic discount and you lose the ability to cap redemptions. Switch a sitewide weekend sale from a code to automatic and you remove a step from every checkout. Those are not cosmetic differences, and Shopify does not warn you about them while you are filling in the form.
So answer these three questions first:
- Does anyone need to be given this discount individually (a partner, a service recovery case, an email list)? If yes, you need a code.
- Does the number of redemptions need a hard ceiling? If yes, you need a code.
- Does every eligible shopper deserve it automatically, whether or not they know it exists? If yes, use an automatic discount.
Everything else is a judgment call, and the rest of this article is how to make it.
What both methods do the same way
Most of the discount form is identical. According to Shopify's Help Center page on amount off order discounts, both methods let you set:
- A percentage or a fixed amount value.
- Minimum purchase requirements: either a minimum purchase amount or a minimum quantity of items.
- Customer eligibility: all customers, specific customers, customer segments, or markets.
- Active dates: a required start date and an optional end date.
- Combinations with other discount classes.
One point worth correcting if you learned Shopify a few years ago: minimum requirements used to be mandatory on automatic discounts. Shopify's developer changelog entry from January 1, 2025, minimum requirement is now optional on automatic discounts, says the minimumRequirement field became nullable for automatic basic and automatic free shipping discounts as of API version 2025-01, so a minimum purchase condition is no longer required. Shopify's help center steps still walk you through picking a minimum amount or quantity, so check the form before you plan around it: if you see a no-minimum option, "automatic discounts force a threshold" is no longer a reason to reach for a code.
Scheduling is also the same on both, which matters more than it sounds. A start date and end date on an automatic discount is how you run a flash sale without touching prices or your theme. If you want the mechanics of dates, caps and combinations in one place, see our guide to scheduling, limits and combinations.
What only a discount code can do
Three things, and they are the reason most partner and list campaigns have to be codes.
Usage caps. Only the discount code form has the two usage limit checkboxes. Shopify's documentation describes "Limit number of times this discount can be used in total" with the example that "setting a limit of 200 allows the discount code to be used 200 times," plus a separate limit of one use per customer, tracked by email or phone number. Automatic discounts have no usage limit fields at all. If your offer is a liability that needs a ceiling (a loss-leader, a 50% comeback offer, anything you would hate to see redeemed 5,000 times), it has to be a code.
A shareable link and a QR code. Shopify's page on managing and editing your discounts is explicit about the prerequisite: "Before you can create a shareable discount link or QR code, you need to create and save a discount code featuring the products or collections you want to link to." You then open the discount and use Promote to get a link or download the QR code. That link can point at your home page, a collection or a product, which makes codes the better fit for print, packaging inserts and in-store signage.
Individual issuance at scale. One store can hold a lot of codes: Shopify states "There's a cumulative limit of 20,000,000 unique discount codes for each store" on its discount codes page. That headroom is what makes one-code-per-person campaigns possible: an affiliate roster, a reactivation email with a unique code per recipient, a conference giveaway.
On attribution, be careful not to overclaim the difference. Shopify's Sales by discount codes report groups sales by "the name of the discount, such as the automatic discount name or discount code," per the sales reports documentation, so automatic discounts show up by name too. The real advantage of codes is that each name can be unique per person or channel, with its own cap.
What only an automatic discount can do
Apply with no action from the shopper. Shopify's automatic discounts page says they are "automatically applied in the cart and at checkout when eligibility conditions are met." No field to find, no code to remember, no customer emailing you because the code did not work. The same page notes one gap: automatic discounts created in the Shopify admin do not apply to the post-purchase page at checkout.
Apply at the register with no staff step. The automatic discount form includes an option labeled "Also offer on Point of Sale (POS Pro locations only)", so the promotion applies itself in the POS cart. Discount codes also work in POS, but a staff member has to enter the code or scan the discount QR code, and Shopify's page on applying discounts in Shopify POS says staff need the Point of Sale "Apply discount codes" permission to do it. If the same promotion runs online and in a shop, automatic keeps the counter moving.
There is one limit to respect. Shopify states: "You can have a maximum of 25 active automatic discounts. This total includes app-based discounts." That ceiling is easy to hit if you leave old seasonal automatic discounts active and run app-based tiered offers on top. Audit the list before you launch something important.
The friction you buy when you ask for a code at checkout
Asking for a code is not free, and it is worth knowing the size of the cost before you choose.
Baymard Institute's 10 sales UX best practices lists "Apply Discounts and Promo Codes Automatically (83% Don't)" as one of its findings, so most sites still make shoppers do the work. On one test site, Shoreline Sightseeing, their testing describes participants who failed to notice a 10% discount code shown directly above the promo code field in the cart and said "We don't have a code. We don't have any of that." A discount nobody notices does not reduce abandonment, and it does not reduce your margin either, which is the only consolation.
The second cost is worse. Baymard's research guideline on how to display promotional fields states the issue plainly: "Promotional fields are distracting and encourage some users to leave the checkout process to hunt for coupons off-site." Every shopper who opens a new tab to search your brand plus "coupon" is a shopper you have handed to a deal aggregator mid-purchase.
None of this means codes are wrong. It means codes are right when the code itself is doing a job (identifying a partner, limiting redemptions, rewarding a list) and wrong when it is only a ritual between the shopper and a discount you were going to give them anyway.
Customer targeting works on both, but the segment limits differ
Both methods offer the same customer eligibility choices, so targeting is not a reason to prefer one. The ceiling is. Shopify's managing discounts page sets the limit at up to 5 customer segments for a single automatic discount, against up to 100 customer segments for a single discount code.
Five segments covers most real campaigns: new customers, VIPs, lapsed buyers, wholesale, local. If your loyalty program has 30 segments and you want one discount to cover a dozen of them, the automatic route will not hold them and you need a code, or you need to consolidate segments first.
Four common campaigns and the method each one wants
| Campaign | Method | Why |
|---|---|---|
| Sitewide weekend sale | Automatic | Every visitor qualifies; a code field only adds a step and invites off-site coupon hunting |
| Influencer or affiliate deal | Discount code | Needs a unique name per partner, a total usage cap and a shareable link or QR code |
| Volume or spend-tier offer running all quarter | Automatic | The reward should trigger the moment the cart qualifies, with no code to remember |
| Email reactivation to lapsed buyers | Discount code | One per customer, capped in total, and traceable to the send |
Two of these are worth a note. A sitewide sale set as an automatic discount still needs merchandising: shoppers cannot see a discount they were never told about, so put the offer in the buy section and the cart rather than relying on the total changing at checkout. And tiered offers do not have to be either/or by product type. In diex, volume discounts, variable discounts and spend tiers can each be configured as a discount code or as an automatic discount, so the same decision in this article applies to them; the automatic route is usually right for an always-on quantity break, and the code route for a campaign you hand to someone.
Running the same offer both ways without double-discounting
Sometimes you want both: an automatic 10% off for everyone and a 15% code for your newsletter. The risk is a shopper getting 25%.
Shopify's discount combinations page sets out the behavior. Automatic discounts and codes can both apply to the same cart as long as each is configured to combine with the other's class. If they are not, you do not get an error and the customer does not get both: "If two or more discounts are applied, but can't be combined due to the discount combination setting or the content of the cart, then the best discount for the customer's cart is always applied."
So the safe setup for the same offer at two depths is to leave combinations off for both, and let Shopify give each shopper the better one. Two other limits from the same page are worth knowing: customers can use a maximum of 5 product or order discount codes and 1 shipping discount code on the same order, and multiple shipping discounts cannot apply to the same order. If you need the detail on which classes stack, we wrote it up in Shopify discount combinations: what actually stacks.
Set this up this week
- Open Discounts in your admin and count your active automatic discounts, app-based ones included. If you are near 25, deactivate what is finished before launching anything new.
- For each discount you are planning, answer the three questions at the top of this article and write the method down before you open the form.
- Check the combination settings on every discount that could overlap with your next campaign, and decide deliberately whether you want them to stack or want Shopify to pick the better one.
- If your campaign needs one code per recipient, prepare the list first. diex can generate or import bulk discount codes with a total usage limit and one use per customer.
- If you are switching a campaign from a code to automatic, add the offer to your product pages and cart so shoppers know it exists. An automatic discount the shopper never sees cannot do any persuading, so it can look weaker than the code version even when the same money is coming off the order.
Sources
- Shopify Help Center: Amount off order discounts
- Shopify Help Center: Managing and editing your discounts
- Shopify Help Center: Automatic discounts
- Shopify Help Center: Discount codes
- Shopify Help Center: Discount combinations
- Shopify Help Center: Applying discounts in Shopify POS
- Shopify Help Center: Sales reports
- Shopify developer changelog: Minimum requirement is now optional on automatic discounts
- Baymard Institute: 10 Sales UX Best Practices
- Baymard Institute: How to Display Promotional Fields (guideline 615)
Drafted with AI from the sources above and checked automatically against them and our product facts. Spotted a mistake? Email help@diex.app.