Flat illustration of a percent tag with a price tag and coins on a dark green background with green accents

Shopify Discount Codes: Set Them Up Right

By the Dropship Stair team. Last reviewed: December 2026.

Key takeaways

  • Shopify discount codes are words a shopper types at checkout for a price cut, a buy X get Y deal, or free shipping, and they come in four types.
  • Shopify discount codes reward a specific group, such as email subscribers or influencers, while automatic discounts apply themselves to everyone who meets the conditions.
  • Every Shopify discount code needs an end date, a usage limit, and a minimum order where it fits, or the promotion will cost more than the sales it brings.
  • A discount is a tool for winning a first order or clearing slow stock, not a permanent price, so protect the margin first and measure what each code earns.

Shopify discount codes lift sales when you use them with care, because they give a buyer a reason to order today instead of later. This guide covers the code types, setup steps, and margin mistakes, so your next promotion earns money.

What are Shopify discount codes?

Shopify discount codes are words, like WELCOME10, that a shopper enters at checkout to get money off, a buy X get Y deal, or free shipping. The code is the key to the offer, and the settings behind it decide who can use it, what it applies to, and how many times it works.

Shopify gives you two ways to discount. A discount code is typed in by the shopper, and an automatic discount applies itself when the cart meets your conditions. Codes fit targeted offers, because only the people who hold the code can use it. Automatic discounts fit store-wide sales, because nobody has to remember anything.

Shopify discount codes work best with a clear goal. A welcome code wins a first order from a new subscriber, a VIP code rewards a repeat buyer, and an influencer code tracks which creator sent the sale. A clearance code moves stock that has sat too long. If the goal is only “sell more,” the code usually just cuts the price on orders that would have happened anyway.

What are the four Shopify discount code types?

Every Shopify discount, code or automatic, is one of four types. The type decides what the shopper gets, and the settings decide who gets it and when. Pick the type that matches the goal.

Discount type What the shopper gets Best for
Amount off products A percentage or fixed amount off specific products or collections Promoting one collection or clearing slow items
Amount off order A percentage or fixed amount off the whole order, often with a minimum Welcome offers and general promotions
Buy X get Y A discount or a free item once the buyer meets a quantity or spend level Raising order value and moving more stock
Free shipping Shipping charges removed for orders that meet your rules Cutting cart abandonment from shipping costs

Amount off discounts never cover shipping costs, so use the free shipping type when delivery cost is the barrier. For buy X get Y, the discounted item does not add itself to the cart, so say so plainly on the product page.

Shopify discount codes vs automatic discounts: which should you use?

Use Shopify discount codes when the offer belongs to a specific group of people. Email subscribers, social followers, influencers, and repeat buyers all fit, because the code is the proof they belong to the group. A code also tracks a channel, since each code can carry its own name and you can read its redemptions in the discount reports.

Use an automatic discount when everyone who visits should get the deal. A store-wide sale, a spend threshold, and a seasonal offer all fit, because the discount shows in the cart and at checkout with no typing. Automatic discounts also avoid the most common code frustration: a shopper who forgets the code and leaves checkout to find it.

Watch the limits on both sides. A store can hold up to 25 active automatic discounts at a time, including ones created by third-party apps, and when several could apply to the same product, Shopify applies only the one that saves the most. A customer can apply up to five product or order discount codes and one shipping code per order. Plan combinations in advance, because the winning discount is picked by value, not by you.

How do you create a discount code in Shopify?

Creating Shopify discount codes takes a few minutes in your admin. Go to Discounts, click Create discount, and pick the discount type, such as amount off products, amount off order, buy X get Y, or free shipping. Then choose the method: Discount code, with Automatic discount as the other option.

Name the code with something short and readable, like WELCOME10 or FREESHIP40, because the buyer has to type it. Set the value as a percentage or a fixed amount, or for buy X get Y, set what the customer buys and what they get. Then choose eligibility: which products or collections it covers, and which customers can use it.

Then set the guards. Add a minimum purchase amount or a minimum quantity when the offer should only fire on a real order. Set the maximum uses, with a total cap and a one-use-per-customer limit for welcome codes. Choose which other discounts it can combine with, set the active dates with an end date, and save. Then test it yourself with a cart that matches the rules.

Which settings protect your margin?

The end date is the most important guard, because a code with no end date lives forever in inboxes and coupon sites. Always set one, and remember that start and end times follow your store time zone, so double-check it before a flash sale. Say the end time in the promotion itself, so buyers elsewhere know when it ends.

Usage limits come next. Limit the total number of uses for a campaign code, and turn on one use per customer for any welcome or first-order code, or a single buyer will use it on every order. Minimum requirements stop the code from firing on tiny orders, so a $10 off code with a $50 minimum only pays when the order is worth having.

Customer eligibility is the guard most stores skip. A VIP code that anyone can use is not a VIP code. Limit the code to the customer segment it was made for, and check the discount reports after the campaign to see how many redemptions came from outside that group. Our guide to Shopify email marketing for beginners covers building the list your welcome codes go to, and the abandoned cart recovery guide covers winning back buyers who left without ordering.

How should you share Shopify discount codes?

Share Shopify discount codes where the buyer can use them at once. Email is the strongest channel, because the code sits in the inbox and the buyer clicks straight to the store. Social posts work for a public sale, and a discount link, which applies the code when the buyer clicks it, works better than a code the buyer must copy and type. The discount stays in the cart and the browser until the shopper clicks Remove discount at checkout.

Do not post a one-use welcome code in public. It will be used by strangers, and your subscribers will find it already spent. Keep welcome codes in email and DMs, and keep public codes broad, with a minimum order and an end date, so a leak costs little.

Put the code where the buyer is deciding, not only where they are browsing. A banner on the homepage, a line in the cart, and a mention on the product page all beat a code hidden in a footer. But do not show a code on the product page and then make the buyer type it at checkout: use a discount link there, or the buyer will leave to find the code and may not return.

What mistakes eat your margin?

The first mistake with Shopify discount codes is discounting everything, all the time. A store that always has a code trains buyers to wait for one, and full-price sales dry up. Use codes for a launch, a season, a first order, or slow stock, then let the price stand. A store that needs a code to sell anything has a pricing problem, not a promotion problem.

The second mistake is a discount with no minimum. Ten percent off a $12 order is a small loss, but ten percent off every small order across a month adds up to real money. Tie the code to an order value above your average, so the discount buys a bigger basket.

The third mistake is stacking without thinking. Codes, automatic discounts, and gift cards can combine in ways that surprise you, and the checkout will apply what the settings allow. Test the worst combination yourself before launch. If the result loses money, tighten the combination settings.

The fourth mistake is never reading the reports. Shopify shows redemptions and gross sales tied to each Shopify discount code, so check them after every campaign. A code with many redemptions and low order values bought cheap orders, and a code with few redemptions never reached its audience. For a store that is just starting, a pre-built Shopify store can launch with discount and checkout settings already in place.

Frequently asked questions

What is the difference between a discount code and an automatic discount?

A discount code is typed in by the shopper at checkout, while an automatic discount applies itself when the cart meets your conditions. Use codes when you want to reward a group, such as email subscribers, and automatic discounts when everyone who visits should get the deal without extra steps.

How many discount codes can a store have?

Shopify allows up to 20 million codes per store, so Shopify discount codes never run out for a normal store. Automatic discounts are capped at 25 active at a time, including app ones. The real limit is your attention, because old codes pile up fast and confuse buyers at checkout.

Can a customer use two discount codes on one order?

No, a customer can apply up to five product or order discount codes and one shipping code per order. When several automatic discounts could apply to the same product, Shopify applies only the one that saves the most. Plan combinations, because the winner is picked by value, not by you.

Why did my discount code not work at checkout?

The usual causes are an expired code, a minimum the cart has not reached, a product the code does not cover, or a customer limit. Open the discount in your admin and read the conditions line by line, then test it with a cart that matches the rules.

Should a new store offer a discount code right away?

A welcome code can help a new store win orders, but only if the margin survives it. Set one use per customer, add a minimum order, and give it an end date. If the product sells at full price, skip the code and spend the margin on better photos instead.

Shopify discount codes are a sharp tool, and sharp tools cut both ways. Give each code a goal, a minimum, an end date, and a usage limit, then read the redemptions after the campaign. A code that brings first orders and bigger baskets earns its place, and a code that only cuts the price on sales you would have made anyway should be retired. Dropship Stair builds pre-built Shopify stores and offers SEO services, and you can reach the team through contact us to talk through your discount strategy.

Sources: Shopify Help Center pages on discounts, discount codes, and automatic discounts, checked November 2026.

Last reviewed: December 2026.

Share the post

Scroll to Top