Discount Codes vs Automatic Discounts in Shopify: When to Use Each
Discount codes vs automatic discounts in Shopify: when each works, combination rules, abuse prevention, influencer codes, WhatsApp recovery codes and measuring profit.
Author: Mousa Alhelo · Published · 7 min read
Discount codes and automatic discounts in Shopify are created from the same screen, but they are different tools for different goals: codes for targeted offers you want to track or restrict to a specific audience, and automatic discounts for public offers every customer should receive without friction. Picking the wrong tool means an abandoned cart while the customer hunts for a code, a double discount you never intended, or an influencer code leaking to coupon sites. This guide explains when to use each type, how to set combination rules, and how to protect codes and measure their results.
The discount types in Shopify and how they apply
Shopify offers four discount types: amount off specific products, amount off the order, buy X get Y, and free shipping. Each can be created in two ways:
| Criterion | Discount code | Automatic discount |
|---|---|---|
| How the customer gets it | Types the code at checkout or arrives through a link | Applied automatically when conditions are met |
| Friction | Requires a step from the customer | Zero friction |
| Tracking | Precise per code and source | At offer level only |
| Audience restriction | Can be limited to specific customers or segments | Applies to everyone who qualifies |
| Leak risk | Exists | No code to leak |
| Active count | Practically unlimited | Limited to a set number of active automatic discounts per Shopify’s documentation |
| Best use | Influencers, WhatsApp, email, cart recovery, partners | Seasonal offers, bundles, free shipping above a threshold |
When to use an automatic discount
Use an automatic discount when the offer is public and advertised on the store and in ads: “15% off all skincare”, “buy two, get the third at half price”, “free shipping over 200 riyals”. The reason is simple: a customer who sees the offer in an ad and is then asked to type a code at checkout feels something is missing, may open a new tab to search for one, and a share of carts is lost there.
One important distinction: an automatic discount on the order is not the same as lowering the price itself. With an automatic discount the product price stays unchanged on the product page and the discount appears in the cart, while with a price reduction plus compare-at price the customer sees the discount from the first page. For large seasonal offers on whole collections, a price reduction with compare-at price is clearer for the customer and stronger in dynamic ads and Google Shopping, as explained in compare-at price strategy for Shopify. It can be scheduled with automatic rollback through SalePilot (salepilot.esafqa.com), while automatic discounts remain the right tool for cart and shipping offers.
When to use a discount code
A code is the right choice when you want one of three things: tracking, restriction, or a sense of exclusivity.
- Influencer and creator codes: a dedicated code per creator measures the orders they actually brought and sets the commission they earn. See our guide to UGC creatives for Gulf ads on working with creators.
- Channel codes: one code for the WhatsApp list, one for email, one for the Snapchat channel, so you know which channel deserves investment.
- Existing-customer codes: a repeat-purchase code sent after the first order and restricted to that customer.
- Apology codes: when shipping is late or an order goes wrong, a unique code for one customer.
- Cart recovery codes: a temporary code sent in the last message of the recovery sequence.
In all of these cases, set at least three limits: an expiry date, a maximum number of uses, and one use per customer.
Combination rules: where discounts double by accident
Shopify groups discounts into three classes: product discounts, order discounts and shipping discounts. Each discount has a setting that defines which classes it can combine with. The recurring scenario: an automatic 20% on a collection, an influencer code of 15% on the order, free shipping above a threshold, and all three set to combine. The result is an order discounted by more than a third with free shipping, and a negative margin.
The practical rule:
- Before every season, open the list of active discounts and review the combination setting on each one.
- Set influencer codes not to combine with product discounts, or size the code with the seasonal offer in mind.
- Allow the shipping discount to combine only with offers whose margin covers the shipping cost.
- Place a test order with more than one discount before launching the campaign.
Protecting codes from leaks and abuse
A code given to an influencer today appears on a coupon site tomorrow and gets used by customers who would have paid full price. Protection measures, in order:
- Unique single-use codes per customer instead of a shared code, especially in recovery and apology messages.
- A usage cap on influencer codes, with periodic renewal.
- A short expiry on campaign codes.
- A minimum order value so the code cannot be used on one cheap product.
- Weekly monitoring of the usage report: a sudden spike on one code means a leak.
- Excluding low-margin products from public codes.
Do not forget cash on delivery: a large discount code combined with cash on delivery attracts orders that are never collected. Tie large codes to online payment where possible.
Cart recovery codes over WhatsApp
Abandoned cart recovery is where codes are most often misused. If you send a code in the first message an hour after abandonment, customers learn that leaving a cart earns a discount. The better sequence: a reminder with no discount, then a message that addresses the objection (shipping, warranty, exchanges), then a unique temporary code in the last message only.
WhatsApp Pilot sends three scheduled cart recovery messages with a unique discount code, only to customers who agreed to WhatsApp marketing, with a message log and an analytics dashboard showing what was actually recovered. Details at whatsapppilot.esafqa.com, and the full strategy in WhatsApp abandoned cart recovery for Shopify.
Measuring discounts: what actually made a profit?
The Sales by discount report in Shopify analytics shows orders, sales and the discount granted for each code or automatic discount. But revenue alone misleads. For each discount, calculate:
- Average order value with the discount versus without it.
- Contribution margin after the discount, shipping and payment fees.
- The share of new customers versus existing ones (a discount to an existing customer who would have bought anyway is a pure cost).
- Cancellation and non-collection rates on orders using the code.
An influencer code that brings 100 orders at a negative margin is worse than one that brings 30 at a healthy margin. This is the same method we apply in paid ads management: measure in orders and margin, not in usage counts.
From our experience
For DealzGate, an electronics store in Jordan, we built a UGC video pipeline with creators alongside an Advantage+ Shopping campaign and Google Shopping at launch, and the first launch campaign returned 9x on initial spend. The lesson we apply to every creator campaign: a separate code per channel and per creator, with a usage cap and an expiry date, so each source is measured in its own numbers. Details in the DealzGate case study.
Conclusion
Automatic discounts for public offers, discount codes for targeted offers you want to track or restrict. Review combination rules before every season, protect codes with limits and unique codes, send the recovery code in the last message rather than the first, and measure every discount by contribution margin rather than revenue. If you would like a review of your discount structure and its effect on profit, message us on WhatsApp for a free audit.
Want this applied to your store?
E-SAFQA builds and runs Shopify stores and their ads. Message us on WhatsApp for a free audit.
Frequently asked questions
What is the difference between a discount code and an automatic discount in Shopify?
A discount code must be typed by the customer at checkout, while an automatic discount applies to the cart as soon as its conditions are met with nothing to enter. Both are created from the same Discounts section in the admin.
Can a customer use more than one discount code on a single order?
Not by default, but Shopify lets you enable combinations between product, order and shipping discounts for each discount individually. Review the combination settings on every discount so they do not stack unintentionally.
How do I stop an influencer code leaking to coupon sites?
Limit the code by usage count or date, or use unique codes per customer, and review the usage report weekly. If a code leaks, deactivate it and issue the influencer a new one.
Should I include a discount code in abandoned cart recovery messages?
Yes, but in the last message rather than the first, and preferably as a unique temporary code so customers do not learn that abandoning a cart earns a discount.
How do I know which discount code actually makes a profit?
In the Sales by discount report in Shopify analytics, compare sales, orders and average order value per code, then calculate contribution margin after the discount and shipping, not revenue alone.