Discount Codes vs Automatic Discounts
Discount codes vs automatic discounts on Shopify: limits, combinations, where each shows, and which to use for email, creators, sitewide sales and gifts.
The first choice when you build a promotion on Shopify is not the percentage. It is whether the shopper types something or the cart works it out. A discount code is entered by the shopper. An automatic discount applies itself when the cart qualifies. The two look similar in the admin and behave differently in four places that matter for margin: who triggers them, how many you can run, how you cap them, and how they combine. On the question of discount codes vs automatic discounts, this page lays out what Shopify's Help Center documents for each, then turns it into a choice by use case. Where the Help Center does not state a limit, this page says so instead of guessing.
The difference in one table
Every row below is a statement from a Shopify Help Center page, named in the last column.
| Discount code | Automatic discount | Source page | |
|---|---|---|---|
| Who triggers it | The shopper enters it at checkout, or scans or follows a shareable link | Applies on its own once the cart meets the requirements | Discounts overview; Managing discounts; Buy X get Y |
| In person | Customers can enter codes at Shopify POS | The page does not say | Discounts overview |
| Count limit | A cumulative limit of 20,000,000 unique codes per store | A maximum of 25 active automatic discounts | Discount codes; Combining discounts |
| Per order | Up to 5 product or order discount codes and 1 shipping discount code | The page does not state a count | Combining discounts |
| Usage limits | You can set the number of times a code can be used, and limit it to one use per customer | Not described on the pages read | Discount codes; Buy X get Y |
| Customer segments per discount | Up to 100 | Up to 5 | Managing discounts |
| Shareable link or QR code | Yes, one discount per link | No | Managing discounts |
The "where it appears" row is deliberately one line: what the shopper sees in the cart and at checkout is a separate topic, covered in Discount Messages Shoppers See at Checkout. Here the question is the mechanism.
The limit on automatic discounts
The Help Center says: "You can have a maximum of 25 active automatic discounts." It sits on the combinations page, so it counts every automatic discount you have active at once. That is a real constraint for any store that runs a gift ladder, a few shipping tiers and a sitewide event in parallel. Check the count before the peak season, not during it, and retire expired discounts instead of letting them sit active. There is no equivalent active-count limit in the table for codes, only the 20,000,000 cumulative cap.
Code leakage: what spreads and what limits help
A code is text, and text moves. A code sent to a newsletter can be pasted into a forum, a creator's video description or a coupon page. You cannot stop that, but you can set the ceiling on what it costs. The Help Center gives you these controls:
- A usage limit. Set the number of times the code can be used in total.
- One use per customer. Shopify says this limits a customer's email address or phone number to one use of the discount code.
- A customer segment. Restrict the code to a segment, up to 100 per code, so only the group you chose can use it.
- An end date, and the combination settings, which decide what the code can stack with.
A worked ceiling, with invented numbers: a 15 percent code, an average cart of 60 dollars, a total-use limit of 200. If every use takes the full 15 percent, each costs 9 dollars, so the most the code can cost is 200 × 9 = 1,800 dollars. Without the limit there is no ceiling at all, only your estimate of how far the code travels. The cost that matters is not the ceiling but the orders that would have come at full price. Break-Even Discount: Extra Volume You Need shows how to test that, and Discount Floors So a Promo Never Loses Money shows the lowest price you can afford.
How combinations decide the outcome
Shopify groups discounts into product discounts, order discounts and shipping discounts, and combinations are set per discount. The Help Center puts it plainly: discounts do not combine unless you configure them. When several discounts qualify and they cannot combine, the best discount for the customer's cart is applied. Two product discounts on the same line item can combine only on Shopify Plus.
This is where automatic and code behave the same way, and it is where margin leaks. If your automatic gift offer can combine with an order code, a shopper can stack both. If it cannot, the shopper gets whichever is better for them, and a code they were excited to use may do nothing. Decide the stacking rule on purpose, write it in the offer's terms, and test one cart per combination before launch.
The Help Center also notes that a shareable link applies its discount to the shopper's next checkout cart, that its tracking parameters let you see the discount's performance in your campaign reports, and that the five-code limit per order includes discounts from shareable links.
Choosing by use case
- Email to a list. A code, with one use per customer, a usage limit and an end date. If the list is an identifiable segment, restrict the code to it.
- A creator or affiliate. A code with its own name, so the result is countable, and a shareable link so the campaign tags travel with it. Set a total-use limit before you hand it out.
- A sitewide sale. An automatic discount. Nobody has to find a code, and the 25-discount limit is the only count to watch.
- A gift or Buy X get Y offer. Either works, but Shopify says shoppers must add all the items to the cart themselves, and the free or discounted item is never added automatically. With an automatic offer the discount appears once the items are there. With a code, the shopper also has to enter it. See Buy X Get Y: 12 Structures, With Margin Math for the structures, and How to Limit BOGO to One Per Customer for the cap.
- Wholesale or a returning customer. Restrict the discount to a customer segment. Automatic discounts allow up to 5 segments each and codes up to 100.
- A win-back to lapsed buyers. A code limited to one use per customer, shared only with them.
A last check for any of these: a code is a promise that anyone who finds it can use. If your margin only works when a few people use it, use a limit; if it only works when everyone qualifies, use an automatic discount and put its terms on the page.
Single code setup
The Single code template in Freebies Engine by Log Studio Lab is described as "One code shoppers type at checkout," with the example "SUMMER10 for 10% off." Set the percentage from your floor, add the usage limit and one-per-customer rule, then give the code an end date. For the shopper side of a tiered threshold, read Free Shipping Over $50 on Shopify: Setup, and for what overuse does to your customers over time, Stop Training Shoppers to Wait for Sales. Plan requirements are on the pricing page.
Sources
- Shopify Help Center: Combining discounts (accessed October 10, 2026)
- Shopify Help Center: Managing discounts (accessed October 10, 2026)
- Shopify Help Center: Buy X get Y discounts (accessed October 10, 2026)
- Shopify Help Center: Discount codes (accessed October 10, 2026)
- Shopify Help Center: Discounts (accessed October 10, 2026)