Shopify DiscountsLast reviewed

Shopify Automatic Discount vs Discount Code: Which to Use

Who this is for

Marketing and merchandising teams choosing the right discount mechanism for a promotion.

An automatic discount applies to every eligible cart without the customer doing anything; a discount code applies only when the customer enters it or arrives through a discount link. Use automatic discounts for sitewide sales and in-store-style offers everyone should get. Use codes when you want to target an audience, attribute a channel, or limit usage. They can coexist, but only stack when both are set to combine — otherwise Shopify keeps the one that's better for the customer, which can quietly cancel a code you just emailed.

When to use this

  • You're planning a sitewide sale and deciding how to apply it.
  • An emailed code stopped working once an automatic discount went live.
  • You need channel-level attribution for a promotion.
  • You're setting up BOGO or tiered offers.

Step-by-step workflow

  1. 1

    Pick automatic for 'everyone gets it'

    Sitewide sales, BOGO shown on product pages, and tiered spend offers are clearer as automatic discounts.

  2. 2

    Pick a code for 'only these people get it'

    Email, influencer, affiliate, apology, and welcome offers should be codes so you can limit and attribute them.

  3. 3

    Check how many automatic discounts are active

    Shopify allows multiple active automatic discounts, but overlapping ones make outcomes hard to predict. Keep a list of what's live.

  4. 4

    Set combinations deliberately

    If codes must work during an automatic sale, set both sides to combine. Otherwise publish that codes can't be used during the sale.

  5. 5

    Test the overlap

    With the automatic discount live, apply each active code and confirm the expected outcome.

Frequently asked questions

Can a customer use a discount code during an automatic sale?

Only if both discounts are set to combine. Otherwise Shopify applies whichever gives the customer the better price.

Do automatic discounts show on product pages?

Not by default. Automatic discounts apply in cart and checkout. Product-page messaging comes from your theme, banners, or compare-at prices.

Which is better for tracking campaign performance?

Codes. Each code shows up on orders and in discount reports, so you can attribute sales to a channel or partner.

Related resources and tools

Browse all Shopify answers →