← All articles

Shopify automatic discounts vs discount codes vs sale prices

Short answer

A Shopify automatic discount applies itself in the cart and at checkout when the order qualifies, with no code to type. A discount code applies only when the shopper enters it. A sale price changes the product's own Price, with the original in Compare-at price, so it is the only one of the three that shows crossed out on product pages by default.

Key takeaways
  • Shopify automatic discounts are applied in the cart and at checkout when the order meets the conditions; the shopper doesn't enter anything.
  • A store can have at most 25 active automatic discounts, and app-based discounts count toward that total.
  • By default, neither automatic discounts nor codes show crossed-out prices on product or collection pages; a compare-at price does.
  • Discounts combine only when each one is set to combine under Combinations; otherwise Shopify applies the best one for the customer.
  • Automatic discounts have no total usage limit or one-per-customer limit; those settings exist only for discount codes.

Shopify automatic discounts apply themselves in the cart and at checkout whenever an order meets the conditions you set, so the shopper never types a code. A discount code does the same math but only after the shopper enters it. A sale price is different in kind: you lower the product's own Price and put the original in Compare-at price, so the reduction shows on product and collection pages before anyone adds to cart.

Most stores need more than one of these during a big sale. This guide compares the three side by side, explains how they stack, and walks through which to use for the common sale setups, using the labels in Shopify's current help docs.

What is an automatic discount on Shopify?

An automatic discount is a discount with no code: Shopify applies it in the cart and at checkout as soon as the order qualifies. You create it in the same place as a code, under Discounts, and choose Automatic discount as the method.

Shopify supports four automatic types:

  • Amount off products: a percentage or fixed amount off chosen products or collections.
  • Amount off orders: a percentage or fixed amount off the order subtotal.
  • Buy X get Y: a free or discounted item when the shopper buys something else.
  • Free shipping: free or reduced shipping, for all countries or selected ones.

Every automatic discount needs a Title. Pick it with care: Shopify's docs say the title displays to customers in their cart and at checkout, next to the savings. "Black Friday: 20% off outerwear" explains itself. "BF-AUTO-3" does not.

Automatic discounts vs discount codes vs sale prices

The three differ in where the saving shows, who triggers it and how much control you have. Here's the comparison, based on Shopify's help pages:

Automatic discount Discount code Sale price (compare-at)
Shopper has to act No Yes, enters the code No
Crossed-out price on product and collection pages No, by default No, by default Yes, if your theme shows it
Crossed-out price at checkout Yes Yes No, only the sale price shows
Can depend on the cart (spend threshold, quantity, buy X get Y) Yes Yes No
Start and end on a schedule Yes, Active dates Yes, Active dates No built-in schedule
Total usage limit or one per customer No Yes No
Store limit 25 active, app discounts included 20,000,000 unique codes None
POS POS Pro locations, if turned on All channels you've set up Wherever the product sells
Where you set it Discounts Discounts Each variant's price fields

Two rows decide most choices. If shoppers must see the deal while they browse, only a compare-at price does that without a theme change or an app. If the deal depends on what's in the cart, only a discount can express it.

How do you create an automatic discount on Shopify?

Go to Discounts, click Create discount, pick the type, and select Automatic discount under Method. The rest of the form is the same as for a code, minus the usage limits.

  1. In your Shopify admin, go to Discounts and click Create discount.
  2. From Select discount type, choose Amount off products, Amount off orders, Buy X get Y or Free shipping.
  3. Under Method, select Automatic discount and enter a Title.
  4. Set the value and what it applies to. For a collection sale, choose the sale collection rather than adding products one by one.
  5. Set any minimum requirement: Minimum purchase amount or Minimum quantity of items. The amount counts product prices only, not shipping or taxes.
  6. Under Eligibility, choose All customers, Specific customers, Customer segments (up to 5 for an automatic discount) or Markets.
  7. Under Combinations, check the classes it may combine with: product, order or shipping discounts.
  8. Under Active dates, set the start, click Set end date, set the end, and click Save.

Dates follow your store's time zone, not the shopper's. Leave out the end date and the discount doesn't expire. For a step-by-step plan around Black Friday timing, see how to schedule a sale on Shopify.

How do automatic discounts and codes stack?

They stack only when every discount involved is set to combine; otherwise Shopify applies the single best discount for the customer's cart. Shopify sorts discounts into three classes: product discounts, order discounts and shipping discounts.

The rules from Shopify's combination docs that matter most when you mix automatic discounts with codes:

  • Each discount must opt in. Check the matching box under Combinations on both discounts. Ticking it on one side isn't enough.
  • One item, one discount per class. A single item can't take two product discounts unless you're on Shopify Plus and both carry matching tags.
  • Order of calculation. Product discounts apply first, order discounts apply to the reduced subtotal, then shipping discounts.
  • Per-order limits. Up to 5 product or order codes and 1 shipping code, and up to 25 automatic discounts, can apply to the same order.
  • Channels. Combinations work on orders through the Online Store, the Storefront API and Shopify POS. External checkouts such as Facebook, Instagram and Google don't support them.

Sale prices sit underneath all of this. A discount is calculated from the product's current Price, so a 20% automatic discount on an item already reduced from $50.00 to $40.00 takes 20% off $40.00, and the shopper pays $32.00. When stacking surprises a shopper, the usual cause is one of these rules; our guide to a Shopify discount code not working goes through each error message.

Which one should you use for your sale?

Pick by what the shopper needs to see and what the deal depends on. These are the common setups:

Sale you want to run Best fit Why
25% off a collection, visible while browsing Sale price with compare-at Only option that shows a crossed-out price on product pages by default
Spend $100, get 15% off Automatic discount, Amount off orders with a minimum Depends on the cart total
Buy 2, get 1 free Automatic Buy X get Y Depends on what's in the cart
Free shipping over $75 for Black Friday weekend Automatic Free shipping with dates Applies on its own and ends on its own
10% off for newsletter subscribers only Discount code, Limit to one per customer Usage limits exist only for codes
Thank-you offer for past customers Automatic discount for a Customer segment, or a code Segments limit who qualifies
Influencer or partner tracking Discount code One code per partner shows who drove the order

Some details to plan around before you commit:

  • Buy X get Y doesn't add the free item. The shopper must add both items to the cart themselves, so say so on the product page or in your banner.
  • No usage caps on automatic discounts. Every qualifying order gets it until the end date. Buy X get Y has Set the maximum number of uses per order, which caps uses in one order, not in total.
  • The 25 limit fills up fast. Each tier of a "spend more, save more" offer and each app-based discount counts toward the 25. Deactivate last season's discounts before adding new ones.
  • Post-purchase pages are excluded. Neither automatic discounts nor codes apply on the post-purchase checkout page.

A Black Friday example that mixes all three

Here's one way the three fit together, with numbers. A store runs Black Friday from 12:00 am Friday to 11:59 pm Monday in its own time zone:

  1. Sale prices on 40 coats: Price drops from $120.00 to $96.00, with Compare-at price set to $120.00. Shoppers see the 20% saving on the collection page.
  2. Automatic free shipping on orders of $75 or more, set to combine with order discounts, with Active dates matching the sale.
  3. A discount code, SUB10, for 10% off orders, sent to newsletter subscribers, set to combine with shipping discounts but not with other order discounts, and limited to one per customer.

A subscriber who buys one coat pays $96.00, gets free shipping, and with SUB10 pays $86.40 for the coat. That's 28% below the $120.00 original, so decide in advance whether you're happy with that depth. If not, make SUB10 an Amount off products discount that applies only to your full-price collections.

The discounts end on their own at their end dates. The 40 sale prices don't: on Tuesday morning someone has to set Price back to $120.00 and clear Compare-at price completely, since $0.00 isn't the same as an empty field. Our guide to Shopify compare-at prices covers how to clear them in bulk.

How Theme Scheduler helps

Theme Scheduler doesn't create discounts or discount codes; use Shopify's own Discounts for those, since they already start and stop on their dates. It covers the part of a sale Shopify doesn't schedule. On the Plus plan ($12.99 a month), Theme Scheduler changes products for a sale at a set time, a percentage or amount off with the original price shown as the compare-at price, on whole products or only chosen variants, along with sale tags and badge metafields, and switches everything back when the sale ends. It can also publish a sale theme at the start and your regular theme at the end. Professional is $6.95 a month with a 14-day free trial.

Frequently asked questions

What is an automatic discount on Shopify? It's a discount that Shopify applies by itself in the cart and at checkout when an order meets the conditions you set, such as a product in a collection or a minimum purchase amount. You create it under Discounts with Create discount, choosing Automatic discount as the method. The shopper doesn't type a code.

How many automatic discounts can a Shopify store have? A store can have a maximum of 25 active automatic discounts at once, and that total includes app-based discounts. Up to 25 automatic discounts can apply to the same order if each is set to combine. Discount codes have a separate limit of 20,000,000 unique codes per store.

Can a customer use a discount code with an automatic discount on Shopify? Yes, if both discounts are set to combine with each other's class under Combinations. If they aren't, Shopify applies whichever gives the customer the better deal, so the code may be ignored. A single item can't take two discounts of the same class, except on Shopify Plus with matching tags.

Do automatic discounts show on Shopify product pages? Not by default. Shopify shows the savings from automatic discounts and codes in the cart and at checkout with a crossed-out price, but product and collection pages show the regular price unless your theme or an app displays the discount. A compare-at price is the built-in way to show a crossed-out price on product pages.

Should I use an automatic discount or a sale price for Black Friday? Use a sale price with a compare-at price when you want shoppers to see the reduced price while browsing. Use an automatic discount when the deal depends on the cart, such as a spend threshold, buy X get Y or free shipping. Many stores use both, so plan how they stack before the sale starts.

Do Shopify automatic discounts work on POS? Only at POS Pro locations, and only if you turn on Apply on POS Pro locations (labeled Also offer on Point of Sale on some screens) when you create the discount. Locations on POS Lite can't use automatic discounts. Discount codes can be redeemed on every sales channel you've set up.

Sources

  1. Shopify Help Center: Automatic discounts
  2. Shopify Help Center: Discount codes
  3. Shopify Help Center: Discount combinations
  4. Shopify Help Center: Amount off products and orders
  5. Shopify Help Center: Sales channel discounts
  6. Shopify Help Center: Selling products on sale

Set up your sale once

Theme Scheduler publishes your sale theme on time and, on Plus, puts products on sale and swaps menus, then switches everything back when the sale ends.

Get Theme Scheduler