How to Create Shopify Discount Codes for Growth

Learn how to create Shopify discount code strategies that drive growth. Follow our step-by-step guide to boost AOV, clear inventory, and build customer loyalty.

13 min
How to Create Shopify Discount Codes for Growth

Table of Contents

  1. Introduction
  2. The Foundation: Before You Create a Discount
  3. How to Create a Shopify Discount Code: The Native Process
  4. Clarifying the "Why": Choosing the Right Discount Strategy
  5. Understanding Margin and Operations
  6. Bundling with Intention: The Next Level of Discounting
  7. Managing Discount Stacking and Conflicts
  8. Performance and Measurement: Is Your Discount Working?
  9. Mobile UX Implications
  10. When to Bring in Professional Help
  11. Summary and Final Thoughts
  12. FAQ

Introduction

At some point in every Shopify merchant’s journey, the question shifts from "How do I make a sale?" to "How do I make a better sale?" You might find yourself with a surplus of seasonal inventory, or perhaps you’ve noticed that your Average Order Value (AOV)—the average dollar amount a customer spends each time they place an order—has plateaued. This is usually when the conversation around discounts begins.

Creating a discount code is one of the most accessible levers you can pull in the Shopify admin. However, there is a significant difference between a reactive discount that erodes your margins and a proactive discount strategy that builds customer loyalty. Whether you are a new Shopify founder launching your first collection or a growing DTC brand managing a high-SKU catalog, understanding the technical "how-to" is only the first step.

In this guide, we will walk through the exact steps to create Shopify discount codes, but we will do so through the lens of intentional commerce. At the MBC Bundles app on Shopify, we believe that discounts and bundles should be supportive tools inside a larger, healthy ecosystem. Our approach follows a specific sequence: establish your foundations, clarify your "why," check your margins, choose the right mechanic, implement the simplest version possible, and then reassess based on data.

The Foundation: Before You Create a Discount

Before we click a single button in the Shopify admin, we have to ensure the store is ready to receive the traffic a discount might bring. A discount code cannot fix a poor user experience. If your product pages don't convert, if your shipping policy is hidden, or if your mobile site is slow, a 20% off code will only lead to frustrated shoppers and higher cart abandonment.

Check these three foundations first:

  • Mobile UX: Most shoppers will find your discount via social media or email on their phones. Ensure the "Apply Discount" field is easy to find in the checkout on mobile.
  • Transparent Shipping: High shipping costs are the primary reason for cart abandonment. If you offer a discount but surprise customers with a $15 shipping fee at the final step, the discount loses its psychological value.
  • Clear Value Proposition: The discount should be the "cherry on top," not the only reason a person buys. Ensure your product photography and descriptions clearly explain why the product is worth the full price first.

Key Takeaway: A discount is a bridge to a sale, not a replacement for product-market fit. Ensure your store's speed and clarity are solid before inviting customers in with a promo code.

How to Create a Shopify Discount Code: The Native Process

Shopify provides a robust native toolset for creating discounts. You don’t always need a third-party app for simple percentage-off or fixed-amount codes. Here is the step-by-step path to setting up your first code.

Step 1: Access the Discounts Section

Log in to your Shopify Admin. In the left-hand navigation menu, you will see a tab labeled Discounts. Click this to open your discount dashboard. This is your command center for every promotion you run.

Step 2: Choose Your Discount Type

Click the "Create discount" button in the top right corner. Shopify will present you with four primary options:

  1. Amount off products: Good for specific items or collections.
  2. Amount off order: Best for store-wide sales.
  3. Buy X Get Y: Perfect for BOGO (Buy One, Get One) offers or "free gift with purchase" scenarios.
  4. Free shipping: A powerful tool to increase conversion without devaluing the product itself.

Step 3: Define the Method and Code

Once you select a type (let's assume "Amount off products" for this example), you must choose the Method.

  • Discount Code: The customer must manually type a word (like WELCOME10) at checkout.
  • Automatic Discount: The discount is applied automatically if the criteria are met.

If you choose "Discount code," you can either type a custom name or click "Generate code" to create a random string of characters. We recommend custom names like "SPRING20" or "FALLSAVE" because they are easier for customers to remember and share.

Step 4: Configure Value and Requirements

This is where you set the "rules" of the discount:

  • Value: Choose between a percentage (e.g., 15%) or a fixed amount (e.g., $10).
  • Applies to: You can select specific products or entire collections. This is helpful if you want to protect the margins on your best-sellers while clearing out older stock.
  • Minimum Purchase Requirements: You can require a minimum dollar amount (e.g., "Spend $50 to get $10 off") or a minimum quantity of items. This is a primary strategy for increasing AOV.

Step 5: Customer Eligibility and Usage Limits

Decide who can use the code. You can limit it to "All customers," specific customer segments (like "Returning customers"), or specific individual customers.

  • Usage Limits: We strongly recommend checking "Limit to one use per customer" for most general promotions to prevent code abuse.
  • Active Dates: Set a start date and an optional end date. Setting an end date creates a natural sense of urgency for the shopper.

What to Do Next:

  • Test the code yourself using a "test" order in a private browser window.
  • Check that the code name doesn't contain confusing characters (is that a zero or a capital O?).
  • Confirm the code applies to the correct products before sending your announcement email.

Clarifying the "Why": Choosing the Right Discount Strategy

Creating a code is easy; creating the right code requires intention. You must identify your goal before you launch.

If Your Goal is to Raise Average Order Value (AOV)

If you notice customers are consistently buying only one item, a simple "10% off" code might not help. Instead, try a tiered discount or a threshold-based code.

  • Scenario: If your current AOV is $45, try creating a code for "Free Shipping on orders over $60" or "$10 off orders over $75." This encourages the shopper to add "just one more thing" to their cart to unlock the savings.

If Your Goal is to Move Excess Inventory

When you have a high volume of a specific SKU (Stock Keeping Unit—a unique identifier for each product) that isn't moving, the Buy X Get Y (BOGO) mechanic is your best friend.

  • Scenario: Instead of a flat 50% off, try "Buy one, get one 50% off." This moves two units instead of one, helping you clear warehouse space faster while maintaining a higher total transaction value.

If Your Goal is Customer Acquisition

First-time customers often need a "risk-reduction" incentive. A fixed-amount discount (e.g., "$5 off your first order") often feels more tangible to a new shopper than a percentage, especially on lower-priced items. It feels like "free money" they can apply immediately.

Caution: Constant discounting can train your customers to never pay full price. Use discounts with intention—linked to specific events, milestones, or behaviors—to protect your brand equity.

Understanding Margin and Operations

A common mistake for growing brands is forgetting to account for the "total cost" of a discount. When you offer 20% off, that 20% comes directly out of your profit margin, not your total revenue.

The Margin Check

Before launching a code, run a simple calculation:

  1. Product Cost: What did it cost to make/buy?
  2. Fulfillment Cost: Shipping + Packaging + Labor.
  3. Marketing Cost: What did it cost to get the customer to the site (CAC)?
  4. Transaction Fees: Shopify Payments or PayPal fees.
  5. The Discount: Subtract the discount amount.

If the remaining number is razor-thin or negative, you need to adjust your strategy. You might decide to limit the discount to specific high-margin collections or increase the "Minimum Purchase Requirement" to ensure the order size justifies the discount.

Fulfillment Complexity

Large-scale discounts can lead to "order spikes." Ensure your warehouse or fulfillment team is aware of the promotion dates. If you are using a "Free Gift with Purchase" mechanic via a discount code, ensure you have the physical inventory of the gift item synced correctly in Shopify to avoid overselling.

Bundling with Intention: The Next Level of Discounting

While a single discount code is a great start, bundling is where Shopify merchants often see the most sustainable growth. Bundling is the process of grouping multiple products together and offering them at a combined price, often with a built-in discount.

Why Bundles Often Outperform Simple Codes

Simple discount codes often lower the "Price Per Item." Bundles, when implemented well, increase the "Items Per Order." This is a fundamental shift in how you grow your revenue.

At MBC Bundles, we focus on several key bundle types that use discount mechanics strategically:

  • Mix & Match: Let customers build their own "set" (e.g., "Choose any 3 shirts for $60"). This uses a "Fixed Price" discount logic.
  • Quantity Breaks (Volume Discounts): The more they buy of one item, the more they save (e.g., "Buy 1 for $20, Buy 2 for $35"). This reduces the "decision friction" for replenishment items like skincare or snacks.
  • Buy X Get Y (BOGO): This can be used to introduce customers to new products by offering a small "Y" product for free when they buy the "X" product they already love.

The Responsible Journey to Bundling

We recommend a phased approach:

  1. Foundations First: Make sure your basic "Amount off order" codes are working and you understand your margins.
  2. Clarify the Goal: Are you trying to sell a specific "routine" or "outfit"?
  3. Choose the Type: Use a "Bundle Builder" if you have many options, or a "Frequently Bought Together" widget for simple pairings.
  4. Implement Minimal Setup: Start with one or two bundles on your top-performing products. Don't overwhelm the customer with 50 different bundle offers.

Managing Discount Stacking and Conflicts

One of the most frequent points of confusion for Shopify merchants is Discount Stacking. This refers to whether a customer can use more than one discount at the same time.

How Shopify Handles Stacking

In the Shopify admin, when you create a discount, you will see a section titled "Combinations." You can choose to let the discount combine with:

  • Product discounts
  • Order discounts
  • Shipping discounts

If you do not check these boxes, Shopify will apply the "best" single discount for the customer and ignore the others.

Why Stacking Matters

Imagine a customer has a "10% Welcome" code. You are also running a "Buy 2, Get 1 Free" automatic bundle. If you allow these to stack, the customer might end up getting a massive discount that wipes out your profit.

Best Practice: Generally, we recommend allowing shipping discounts to stack with product discounts, but being very careful about allowing multiple product or order discounts to combine. Always test your checkout flow with multiple codes to see the "worst-case scenario" for your margins.

Performance and Measurement: Is Your Discount Working?

"More sales" does not always mean "more success." To understand the true impact of your Shopify discount codes, you need to look at specific metrics in your Shopify Analytics (found under Analytics > Reports > Sales by discount).

Key Metrics to Track

  • AOV (Average Order Value): Did the discount code actually result in larger carts, or did people just pay less for what they were already going to buy?
  • Conversion Rate: Did the code help turn visitors into buyers? If your conversion rate spiked but your AOV dropped significantly, you might be over-discounting.
  • Return on Ad Spend (ROAS): If you are running ads to a discount code, ensure the revenue generated (minus the discount and costs) is significantly higher than the ad spend.
  • Attach Rate: For product-specific bundles or discounts, what percentage of customers actually took the offer?

Testing One Change at a Time

Don't change your prices, launch a bundle, and start a 20% off influencer campaign all in the same weekend. You won't know which lever actually drove the results. Launch your discount code, monitor it for 7–14 days, and then iterate.

Action List for Measurement:

  • Check your "Sales by Discount" report weekly.
  • Compare the "Net Sales" of discounted orders vs. non-discounted orders.
  • Survey your customers occasionally to ask if the discount was the reason they purchased.

Mobile UX Implications

A discount code that is hard to enter on a smartphone is a conversion killer. On many Shopify themes, the discount field is hidden behind a "Show Order Summary" dropdown on the mobile checkout page.

Improving the Experience

  • Copy-to-Clipboard: If you use a pop-up to give a code, include a "Click to copy" button.
  • Automatic Discounts: Whenever possible, use Automatic Discounts for site-wide sales. This removes the manual step for the customer, reducing the chance they will abandon the cart because they forgot the code.
  • Placement: If you are using a bundling app like MBC Bundles, ensure the bundle offer is clearly visible "above the fold" (the part of the screen visible without scrolling) on mobile devices.

When to Bring in Professional Help

While the Shopify admin is user-friendly, eCommerce can get complex quickly. There are three specific times you should consider reaching out for help:

1. Theme Conflicts and Performance

If you install multiple apps to handle discounts and bundling, they may occasionally "fight" for control over the cart. This can slow down your site or cause the checkout to glitch. If you see price flickering or codes not applying correctly, test on a duplicate theme first. If the problem persists, work with a Shopify developer to clean up your theme's liquid code, or check our help center for troubleshooting steps.

2. Payments and Security

If you notice a sudden influx of orders using a specific discount code that seem suspicious (e.g., multiple orders from the same IP address using different names), contact Shopify Support and your payment provider immediately. Fraudsters sometimes use discount codes to test stolen credit cards.

3. Legal and Tax Compliance

Pricing transparency is a legal requirement in many regions (such as the Omnibus Directive in the EU). If you are running deep discounts or "was/is" pricing, consult with a legal professional to ensure your discount displays are compliant with local consumer protection laws.

Summary and Final Thoughts

Creating a Shopify discount code is a fundamental skill for any merchant, but the goal is to move from "discounting" to "strategic merchandising," and you can see examples in our case studies.

By following the Bundle with Intention philosophy, you ensure that every promotion serves a purpose:

  • Foundations: Ensure your store is fast, clear, and trustworthy.
  • Goal Clarity: Know if you are chasing AOV, inventory clearance, or new customers.
  • Margin Check: Verify that you are still making a profit after all costs.
  • Intentional Choice: Use simple codes for acquisition and bundles for growth.
  • Reassess: Use data to refine your approach, changing only one thing at a time.

"A discount is a conversation between you and your customer. Make sure you're saying 'I value your business' rather than 'I'm desperate for a sale.'"

The most successful Shopify stores treat discounts as a growth engine, not a clearance rack. Start simple, monitor your margins closely, and look for opportunities to group products into helpful bundles that make the shopping experience easier and more valuable for your customers.


FAQ

How many discount codes can I have on my Shopify store?

Shopify allows you to create up to 20 million unique discount codes. While you will likely never reach this limit, it is important to clean up expired or inactive codes regularly to keep your admin organized and prevent customers from finding and using old "test" codes that might still be active.

Why isn't my Shopify discount code working at checkout?

The most common reasons are: the code has expired, the products in the cart are not part of the selected collection, the "minimum purchase requirement" hasn't been met, or the code is being used by a customer who has already used it (if "limit to one use" is checked). Always check the "Requirement" and "Usage Limits" sections in your discount settings.

Can I offer free shipping and a percentage discount at the same time?

Yes, but you must enable Discount Combinations. In the settings for your percentage discount code, scroll down to the "Combinations" section and check the box for "Shipping discounts." This allows the customer to use their promo code and still qualify for a free shipping offer if they meet the criteria.

Should I use a discount code or an automatic discount?

Use a discount code if you want to track the success of a specific marketing channel (like an influencer or an email campaign) or if you want the customer to feel they've "earned" a special reward. Use an automatic discount for site-wide sales or holiday events where you want to reduce friction and ensure every eligible customer gets the saving without having to remember a word.