How to Create and Manage Shopify Discount Codes

Learn how to create every type of Shopify discount code, build a strategic discount architecture, and use discounts to drive conversions without training buyers to wait for sales.

What Are Shopify Discount Codes and How Do They Work?

Shopify discount codes are promotional codes that customers enter at checkout to receive a price reduction on their order. Creating and managing effective discount codes is one of the most powerful tools in a Shopify merchant’s marketing toolkit — used strategically, they convert hesitant buyers, recover abandoned carts, reward loyal customers, and drive seasonal sales spikes. Used poorly, they train buyers to wait for sales, devalue your brand, and erode margins without generating net-new revenue. This guide covers how to create every type of Shopify discount code, configure them strategically, and use discounts to drive business results rather than simply giving money away.

Step 1: Understanding Shopify Discount Types

Shopify supports several distinct discount structures, each suited to different promotional goals:

  • Percentage discounts — reduce price by a percentage (10%, 20%, 50%). Most common discount type. Best for clearance events and percentage-off promotions where the discount amount scales with order value (a 20% discount is more compelling on a $200 order than a $20 order).
  • Fixed amount discounts — reduce price by a specific dollar amount ($10 off, $25 off). Better than percentage discounts when you want to drive minimum order values (a $15 off $50 order discount incentivizes reaching the $50 threshold more clearly than “30% off”).
  • Free shipping discounts — waive shipping charges when a code is entered, or provide free shipping automatically on qualifying orders. Effective for stores with noticeable shipping costs; free shipping removes one of the most common checkout abandonment triggers.
  • Buy X Get Y discounts — “buy 2, get 1 free,” “buy 3, get the cheapest free,” or “buy any 2 items, get a specific product free.” Powerful for increasing units per transaction and clearing specific inventory.
  • Automatic discounts — apply automatically without requiring a code entry when order conditions are met (e.g., automatically apply 10% when order total exceeds $100). Automatic discounts improve conversion compared to code-required discounts because buyers don’t need to remember or find a code.

Step 2: Create a Discount Code in Shopify Admin

Creating a discount code is straightforward in Shopify admin:

  • Navigate to Discounts — in Shopify admin, click Discounts in the left navigation, then “Create discount.” Select “Discount code” for a code-based discount or “Automatic discount” for an automatically applied discount.
  • Set the discount code name — the code customers will enter at checkout (e.g., “WELCOME10,” “SUMMER20,” “FREESHIP”). Codes are case-insensitive in Shopify checkout. Make codes memorable and relevant to the promotion — “SAVE10” is more intuitive than “PROMO4927.”
  • Configure discount value — select percentage, fixed amount, free shipping, or buy X get Y, then enter the discount value. For percentage discounts, enter the percentage (20 for 20% off). For fixed amounts, enter the dollar value ($15 for $15 off).
  • Set applies-to scope — choose whether the discount applies to: entire order (all products), specific collections, or specific products. Limiting discounts to specific collections or products enables targeted promotions (clearance items, new arrivals, specific categories) without applying discounts to your full catalog.
  • Set minimum requirements — optionally require a minimum purchase amount (“customer must spend at least $50”) or minimum quantity (“customer must add at least 3 items”) to activate the discount. Minimum requirements prevent discount use on small orders that reduce margin without building the order values that justify the discount cost.
  • Set usage limits — limit total uses (“this code can be used 500 times total”) or one-use-per-customer (“each customer can use this code once”). One-use-per-customer prevents code sharing and ensures codes serve their intended recipient.
  • Set validity dates — configure the start date and optional end date for the discount. Time-limited discounts create urgency; open-ended discounts work for welcome or evergreen promotions.

Step 3: Build a Strategic Discount Architecture

Effective discount strategy isn’t about the mechanics of creating codes — it’s about which discounts to run, when, and for whom:

  • Welcome discount for new subscribers — a 10-15% welcome discount delivered immediately after email signup is the highest-converting entry-point offer for most Shopify stores. The welcome discount captures email subscribers at their highest intent moment (they just showed interest by signing up) and converts them to first purchasers before that initial enthusiasm fades. Configure as a unique code per subscriber (via Klaviyo or Mailchimp) rather than a shared code to maintain exclusivity.
  • Abandoned cart recovery discount — offer a modest discount (10-15%) in the second or third abandoned cart email (not the first) to buyers who abandoned checkout. Timing: first email (no discount) at 1 hour, second email (no discount) at 24 hours, third email (10% discount) at 48-72 hours. Offering the discount immediately in the first cart recovery email trains buyers to abandon carts to receive discounts — delayed discount escalation serves buyers who genuinely need an incentive while not rewarding strategic abandonment.
  • Loyalty and VIP exclusive discounts — exclusive percentage discounts for loyalty program members reinforce the value of membership. “Members-only 20% discount during our annual sale” positions the loyalty discount as a perk of relationship, not a generic promotion available to all buyers.
  • Win-back discount for lapsed customers — a targeted win-back discount (20-25%) sent to customers who haven’t purchased in 90-180 days, via email or SMS, recovers lapsed buyers at the lowest cost of any acquisition channel. Win-back discounts should be calibrated to the customer’s historical lifetime value — high-value lapsed customers warrant a more generous win-back offer.

Step 4: Create Automatic Discounts for Checkout Optimization

Automatic discounts apply without code entry, removing friction and improving conversion:

  • Free shipping threshold — the most valuable automatic discount for most stores is free shipping when order total exceeds a specific threshold. Set the threshold slightly above your average order value (if your AOV is $55, set free shipping at $75) to incentivize buyers to add one more item rather than pay shipping. Display the free shipping threshold prominently on product pages and in the cart (“add $15 more for free shipping”).
  • Volume discount tiers — “buy 3, save 10%; buy 5, save 15%; buy 10, save 20%” automatic discounts that activate based on cart quantity drive the multi-unit purchases that increase average order value. Shopify’s automatic discounts support tiered quantity-based discounts for stores on Shopify and above plans.
  • Collection-specific automatic discounts — automatically discount all items in a specific collection (clearance, sale, end-of-season) without requiring code entry. Automatic clearance discounts ensure buyers see final prices without the friction of code entry during sale events.
  • Bundle automatic discounts — automatically apply a discount when specific product combinations are added to cart. “Add a charger and cable and receive 15% off both” creates the bundle behavior without requiring the buyer to find a bundle listing or enter a code.

Step 5: Use Bulk Discount Codes for Campaigns

For promotions requiring unique codes per recipient (influencer partnerships, personalized email campaigns, referral programs), Shopify supports bulk discount code generation:

  • Generate bulk codes — in Discounts → Create discount → Discount code, after setting all parameters, click “Generate codes” to create a batch of unique codes (up to 100,000) with a shared prefix (e.g., “INFLUENCER-[random string]”). All generated codes share the same discount parameters but are unique codes that can only be used once per code.
  • Influencer partnership codes — assign a unique code to each influencer partner (e.g., “JESSICA20,” “MARK15”) that tracks purchases driven by each influencer while giving their audience an exclusive offer. Influencer codes also enable attribution tracking — you can report sales generated by each code per influencer to measure ROI.
  • Referral program codes — referral apps (ReferralCandy, Friendbuy) generate unique codes per referring customer that give the referred buyer a discount. Referral programs funded by discounts are cost-effective customer acquisition because you only pay (the discount) when a successful referral purchase occurs.

Step 6: Avoid Common Discount Mistakes

Discounts done wrong train buyers to wait for sales and erode your brand’s price credibility:

  • Don’t run permanent sitewide discounts — a store with a “20% off everything, always” popup loses the urgency that makes discounts effective. Buyers learn that the discount is always available and it becomes the de facto price — you’ve lowered your prices without the benefits of a genuine promotional event.
  • Don’t offer first-email discounts to everyone who abandons — immediate discount in first cart recovery email rewards strategic abandonment. Use a delay and a reason-based approach first (“we saved your cart — back when you’re ready”) before escalating to a discount incentive.
  • Don’t offer deep discounts publicly that undercut your direct customer relationships — if your VIP customers receive 15% off as a loyalty perk but your sitewide flash sale offers 30% off publicly, you’ve just told your most loyal customers their “exclusive” perk is worth less than a new visitor’s first-click deal.
  • Do use discount expiration dates — time-limited discounts create urgency; open-ended discounts become expected. Even evergreen welcome discounts should have a “expires 7 days after signup” parameter to incentivize timely use.

Step 7: Track Discount Performance in Shopify Analytics

Measure discount effectiveness to optimize your discount strategy over time:

  • Discount usage report — in Shopify admin → Discounts, click on any discount to see total usage, total discount amount, and total orders generated. Compare these numbers against the cost of the discount (total discount amount) vs. the revenue generated (total order value from discount-using orders).
  • Revenue lift from discounted orders — calculate whether discounted orders generate net-positive revenue lift: if your non-discount average order is $60 and your 20%-off-with-code orders average $80 (because buyers add more to reach free shipping), the discount is driving higher order values despite the percentage reduction.
  • New customer acquisition from discount channels — track what percentage of discount-using buyers are new vs. returning customers. If your sale discounts primarily serve returning customers who would have purchased anyway, the discount is a margin giveaway without acquisition benefit. If they’re converting new customers at good lifetime value, the discount cost is worthwhile acquisition investment.

Frequently Asked Questions

How do I create a buy one get one free discount on Shopify?

Buy One Get One Free on Shopify: in Discounts → Create discount → Discount code (or Automatic discount), select “Buy X Get Y” as the discount type. Configure: “Customer buys: Minimum quantity of 1 from [specific product or collection].” “Customer gets: 1 item from [same or different product/collection] at 100% discount.” This creates the BOGO effect — buy one qualifying item, get one free. Variations: “Buy 2 get 1 free” sets the minimum quantity to 2 and gives 1 item at 100% discount; “Buy 3 get 1 free at 50% off” sets minimum quantity to 3 and gives 1 item at 50% discount. For BOGO to work correctly, the “customer gets” product must be added to cart for the discount to apply — you may need to communicate to buyers that they need to add both items to cart before the discount activates, or use an app like Ultimate Special Offers that automates the cart addition.

Can I stack discounts in Shopify?

Discount stacking in Shopify: by default, Shopify allows stacking a discount code with an automatic discount — a buyer can use a discount code AND benefit from an active automatic discount simultaneously. Shopify does NOT allow multiple discount codes to be applied simultaneously (one code per order). To control stacking behavior: in the discount configuration, Shopify 2024+ allows you to specify whether a discount “can be combined with” other discounts — this setting lets you permit or prevent stacking of specific discount types. Automatic discounts can be configured to not combine with other automatic discounts. Review your discount combination settings to ensure promotions don’t accidentally stack in ways that produce unintended deep discounts (e.g., an automatic free shipping discount + a 30% off code combining to be more generous than intended for a specific promotion).

How do I give a discount to a specific customer on Shopify?

Customer-specific discounts on Shopify: the most direct approach is creating a discount code limited to one use and sharing it privately with the specific customer. In Discounts → Create discount, set “Usage limits: limit to 1 use total” and “One use per customer” — then share the code only with the intended recipient. For ongoing customer-specific pricing (e.g., wholesale customers, employee discounts, valued VIP customers), customer-specific discounts are better managed through: 1) Customer account tags that trigger automatic discounts via Shopify Flow; 2) A wholesale/B2B app that manages customer group pricing; 3) Shopify Functions (for Plus merchants) that implement complex customer-specific pricing logic. Shopify’s native discount system works well for one-time customer-specific codes but isn’t designed for ongoing individual customer pricing management at scale.

How do I set up a free gift with purchase on Shopify?

Free gift with purchase on Shopify: use the “Buy X Get Y” discount type with the “customer gets” product set to the gift item at 100% discount. Setup: “Customer buys: minimum purchase amount of $[threshold]” → “Customer gets: 1 quantity of [gift product] at 100% discount.” The gift product must exist as a Shopify product (even if only for this purpose — create a zero-inventory product named “Gift: [description]” if needed). Important: buyers must add the gift item to their cart for the discount to activate — this creates UX friction. Apps like Gift Box, Free Gift, or Ultimate Special Offers automate the gift-to-cart process, making the gift appear automatically when the threshold is met without requiring the buyer to manually find and add the gift product. Automated gift addition significantly improves the gift-with-purchase experience for buyers.

How much discount is too much on Shopify?

Discount depth calibration: the “right” discount is the minimum amount that changes buyer behavior — offering more discount than necessary just costs margin without additional conversion benefit. Research and testing generally shows: 10% converts hesitant buyers at modest margin cost; 15-20% converts significantly more buyers and is the sweet spot for many promotional contexts; 25-30% signals genuine urgency and drives strong conversion but at meaningful margin cost; 40%+ signals financial distress or clearance and positions the brand as a discount retailer to buyers who experience it. Rule of thumb: start at 10% for new subscriber welcome offers and win-back campaigns, A/B test against 15%, and use 20% only when you have evidence that 10-15% isn’t sufficient for the specific use case. Never publicly offer 30%+ discounts on non-clearance items — this trains your entire market to see your full prices as fictional, which permanently damages your pricing credibility.

Final Thoughts

Shopify discount codes and automatic discounts are among the most flexible and powerful tools available for driving conversions, rewarding loyalty, and managing your promotional calendar — but their value is entirely dependent on the discipline with which you deploy them. A strategic discount architecture that offers specific discounts to specific buyers at specific moments in their purchase journey drives net-new revenue that justifies the margin cost. A discount strategy that trains buyers to wait for sales or that publicly undermines your own pricing erodes the brand value that makes sustainable e-commerce margins possible. Build discounts into a deliberate strategy: welcome offers that convert subscribers, cart recovery incentives that recover genuinely lost sales, and loyalty rewards that reinforce the value of customer relationships — and protect your full-price positioning as the foundation everything else depends on.

For more on Shopify promotional strategy, explore our guides on cart abandonment recovery, loyalty program setup, and email marketing automation.

Previous Article

Best Shopify Apps for Outdoor and Camping Gear Stores

Next Article

Best Shopify Apps for Health and Wellness Supplement Stores

Subscribe to our Newsletter

Subscribe to our email newsletter to get the latest posts delivered right to your email.
Pure inspiration, zero spam ✨