/Glossary/Discount Code

Discount Code

A discount code (also called a promo code or coupon code) is an alphanumeric string that customers enter at checkout to receive a price reduction on their order. Shopify lets you create discount codes for percentage off, fixed amount off, free shipping, or buy-X-get-Y promotions. Customers type the code into the discount field during checkout, and the savings apply immediately.

Discount codes are one of the most common tools for driving sales, recovering abandoned carts, rewarding loyal customers, and tracking marketing campaign performance.

Why It Matters

Discount codes serve multiple strategic purposes beyond just lowering prices.

Conversion driver. A well-timed discount can push hesitant shoppers to complete their purchase. Offering 10% off to first-time visitors or including a code in abandoned cart recovery emails directly increases your conversion rate.

Marketing attribution. Each discount code can be tied to a specific campaign, influencer, or channel. When “YOUTUBE15” generates 200 orders and “INSTA10” generates 50, you know exactly where your marketing budget is working.

Customer retention. Exclusive codes for repeat customers, loyalty rewards, or birthday offers keep customers coming back and increase customer lifetime value.

Urgency and scarcity. Time-limited codes (“expires Sunday”) or usage-limited codes (“first 100 customers”) create urgency that drives faster purchase decisions.

Discount codes are not just about lowering prices. They are tracking tools, conversion tools, and relationship-building tools that every Shopify store should use strategically.

Types of Discounts in Shopify

Percentage discount. Takes a percentage off the order or specific products. Example: 15% off all orders, 20% off a specific collection.

Fixed amount discount. Removes a set dollar amount from the order. Example: $10 off orders over $50, $25 off a specific product.

Free shipping. Eliminates shipping costs for qualifying orders. Often the most effective discount type because shipping costs are the top reason for cart abandonment.

Buy X Get Y. Customers buy a specified quantity and receive products free or discounted. Example: Buy 2 get 1 free, buy any shirt get 50% off accessories.

Diagram showing the four types of Shopify discount codes

Creating Discount Codes in Shopify

In your Shopify Admin, go to Discounts and click “Create discount.”

Code-based discounts. You define a specific code (like “SAVE20”) that customers must enter at checkout. You control the code name, making it memorable and tied to specific campaigns.

Automatic discounts. Applied automatically when conditions are met, without requiring a code. For example: “10% off orders over $100” applies at checkout without customer action. Good for site-wide promotions but cannot be tracked to specific campaigns.

Key settings to configure:

  • Discount value (percentage or fixed amount)
  • Applies to: entire order, specific collections, or specific products
  • Minimum requirements: minimum purchase amount or minimum quantity
  • Customer eligibility: all customers, specific customer segments, or specific customers
  • Usage limits: total uses and per-customer limits
  • Active dates: start and end dates for the promotion

Discount Strategy Best Practices

Protect your margins. Calculate the actual cost of each discount before launching. A 20% discount on a product with 30% margins leaves you very little profit. Know your break-even point.

Set minimum thresholds. “15% off orders over $75” encourages customers to add more items to reach the threshold, increasing average order value even after the discount.

Limit usage. Setting per-customer limits (one use per customer) and total limits prevents abuse and creates scarcity.

Use unique codes per campaign. Instead of one generic “SAVE10” everywhere, create “EMAIL10,” “INSTA10,” “YOUTUBE10” to track which marketing channels generate the most revenue.

Time-limit promotions. Open-ended discounts train customers to always expect lower prices. Set clear start and end dates.

Discounts and SEO

Discount pages and promotion landing pages can drive organic traffic. Some stores create dedicated pages for ongoing promotions that target keywords like “[brand] discount code” or “[brand] promo code.” These pages can rank in search results and capture deal-seeking shoppers.

However, avoid creating thin pages that only list a code. Add genuine value with product recommendations, bundle suggestions, or seasonal buying guides alongside the promotion.

Use discount codes as precision tools, not sledgehammers. Targeted, time-limited codes for specific customer segments and campaigns outperform blanket discounts every time.