Create coupons & discounts

Offer discount codes with limits, dates, and product targeting to reward shoppers and run campaigns.

A coupon is a code your customers type in at checkout to get money off. They're a great way to reward loyal shoppers, win back visitors, or run a limited-time offer that you can share wherever you like.

The new coupon form with fields for the code, start and end dates, maximum number of uses, minimum and maximum cart items, a percentage or fixed amount, and specific products

Create a coupon

From the discounts or coupons area of your dashboard, create a new coupon and give it a code – something easy to share, like WELCOME10. Then choose how much it takes off and any rules that should apply.

Tip: Keep codes short, clear, and easy to type. Memorable codes like SUMMER20 get used more than random strings of letters.

Codes can only use letters, numbers, and hyphens – spaces, punctuation, and accented letters aren't accepted.

Codes are matched without regard to case, so a customer typing save10 still finds a coupon you created as SAVE10. The code is stored and displayed the way you typed it – only the lookup at checkout ignores case.

Choose the discount type

You can set your coupon to:

Discount typeExampleGood for
Take off a fixed amount10 off the orderClear, predictable savings on bigger baskets
Take off a percentage15% off the orderScaling the discount with the order size
Make shipping freeDelivery drops to 0Nudging shoppers to check out without discounting the products themselves

Pick whichever makes the most sense for your offer. A percentage rewards larger orders more, a fixed amount is simple and easy to understand, and free shipping keeps every product at full price while removing the delivery cost.

With Free shipping, product prices are untouched – only the delivery charge is waived. If the coupon's scope isn't Entire store, delivery is only free when the cart contains at least one item that matches the scope.

Give a discount and free shipping together

A percentage or fixed-amount coupon can also waive delivery. Turn on Also free shipping under the amount, and one code gives both – for example, 15% off the products and free delivery. The same scope and cart-item rules decide both: if the cart has no qualifying item, neither the discount nor free delivery applies. At checkout, the shopper sees both next to the code, like "15% off · Free shipping".

Set limits and dates

To keep your offer under control, you can add rules so a coupon only works the way you intend:

RuleWhat it does
Usage limitCaps how many times a coupon can be used in total
Limit to one use per customerLets each customer use the code once, recognized by their email address
Active datesSets when the coupon starts and stops working, so a sale ends on its own
Minimum cart itemsRequires a certain number of items before the discount applies
Maximum cart itemsLimits the discount to smaller orders
Minimum order valueRequires the products in the cart to reach an amount before the code works
Skip items already on saleLeaves products a promotion has marked down at their sale price
ScopeRestricts which products the coupon applies to – see below

These rules let you shape an offer precisely – for example, "15% off, up to 100 uses, this weekend only, on a single collection."

Tip: Set an end date on every promotional code so a generous discount doesn't keep running long after your campaign is over.

Limit a coupon to one use per customer

Tick Limit to one use per customer under the usage limit when a shared code should work only once for each person – for example, a family or friends code you post in one place for everyone. You can combine it with the usage limit: 30 uses in total and one per customer.

A customer is recognized by the email address they enter at checkout. Capital letters and spaces don't matter, so Ada@Example.com and ada@example.com count as the same person.

  • Applying the code again. If the email is already known – the customer is signed in, or they've already typed it at checkout – the code is refused with a message that they have already used it.
  • Entering an email that used it. If the code was added first, it comes off as soon as the customer enters an email that already used it. The checkout explains why and shows the new total before they pay.
  • Cancelled orders. A cancelled order gives the use back, so the customer can try again.

The limit is tied to the email address, so someone who checks out with a different email can use the code again.

Set a minimum order value

To make a code work only on bigger orders, enter an amount in Minimum order value. The products in the cart must add up to at least that amount. YNS counts product prices with tax and after any promotion, before a subscription discount or the code takes anything off. Shipping doesn't count.

If the cart is short of the minimum, the shopper sees "Add products worth at least 200 to use this code." If they later remove products and the cart falls below the minimum, the discount stops applying.

The minimum works on every discount type. A Free shipping code with a minimum of 150 gives free delivery only on orders worth 150 or more.

If you sell in several currencies, the Per-currency amounts grid has a Minimum order value column with a field for each currency. Fill in every currency you sell in. A code with a minimum doesn't work in a currency where you left the minimum empty. Shoppers paying in that currency are told the code isn't valid for their cart.

Skip items already on sale

Tick Skip items already on sale to keep the code off products that a promotion has already marked down. Those products keep their promotional price and get nothing from the code. The rest of the cart gets the discount as usual. If every product in the cart is on sale, the shopper is told the code isn't valid for the items in their cart.

Only an active promotion puts a product on sale. Volume pricing, subscription discounts, and bundle prices don't count, so the code still applies to those products.

Choose where it applies

Pick a scope for the coupon:

ScopeApplies to
Entire storeEvery product, with no restrictions
ProductsSpecific products you choose – or only some of their variants
CollectionsProducts in the collections you choose
CategoriesProducts in the categories you choose
BrandsProducts from the brands you choose

Limit a coupon to certain variants

When a product comes in several variants – sizes, colours, or plans like "Start" and "Pro" – you can make the code work on only some of them. Pick the product on the Products tab, and its variants appear underneath with a tick next to each one. Untick the variants the code shouldn't discount.

  • All variants ticked – the coupon covers the whole product, including any variants you add later.
  • Some variants ticked – the discount applies only to those variants. Other variants of the same product pay full price, even when they're in the same cart.

If a customer's cart has none of the chosen variants, the code is refused with a message that it isn't valid for the items in their cart. Products with a single variant don't show this list – the coupon simply covers the product.

You can select more than one dimension at once – say, a few products and a whole collection – and a cart item qualifies if it matches any of them. Choose Entire store to apply the coupon everywhere with no restrictions.

Add extra rules to one code

One code can give different deals on different products. The coupon's own amount and scope are its main discount. Extra rules add more deals on narrower sets of products. There are two kinds:

  • Percentage off takes a percentage off the products you choose.
  • Buy X get Y gives a customer who buys some products more of them cheaper or free.

To add a rule:

  1. Under Extra rules, click Add rule.
  2. Choose Percentage off or Buy X get Y.
  3. Fill in the rule as described below.

A coupon can have up to 10 extra rules. Every set of products in a rule needs at least one product, variant, collection, category, or brand.

Percentage off

Enter the Rate. You can use up to three decimals, like 33.333. Then choose the Discounted products.

The rule can also depend on what else is in the cart. Tick Only when the cart has at least a set number of certain products. Enter the Minimum quantity and choose the Counted products. The rule then works only while the cart holds that many units of those products. They can be other products than the ones the rule discounts.

Buy X get Y

Fill in both sides:

  • Customer buys: how many units the customer pays full price for, and which products count.
  • Customer gets: how many units then get a discount, which products they can be, and the Discount. 100% makes them free.

The offer applies once for every full set in the cart. When both sides name the same product, "buy 2, get 1 free" works like this:

Units in the cartFree units
20
31
51
62

The discount always goes to the cheapest units. A unit never counts as bought and discounted at once. Enter a Limit per order to cap how many times the offer applies in one order. Leave it empty for no limit.

How rules work together

Each product gets one deal, never a sum. YNS checks the extra rules in the order you listed them. A product takes the first rule that covers it and applies to the cart. A rule is skipped when it doesn't apply:

  • a percentage rule whose minimum quantity the cart doesn't reach,
  • a buy X get Y without a full set in the cart.

While a buy X get Y applies, the products it covers take no other discount. That includes units left over after the last full set. A product that no extra rule takes gets the main discount, if it is in the main scope. The code works as soon as it takes something off one product in the cart.

Skip items already on sale and One-time purchases only reach every rule. A product they leave out gets no discount. It doesn't count as a bought unit either, and it doesn't count toward a minimum quantity.

Example: code K3BA

Code K3BA gives a free tub of creatine for every two. Shoppers who buy at least three tubs also get 10% off an add-on product.

RuleSettings
Extra rule 1: Buy X get YCustomer buys 2 of Creatine. Customer gets 1 of Creatine at 100% off
Extra rule 2: Percentage off10% on the add-on product, only when the cart has at least 3 of Creatine

Set the main discount to 0% so the code takes nothing off other products. A cart with 3 tubs and the add-on product pays for 2 tubs and gets the add-on product 10% cheaper. A cart with 2 tubs gets neither deal, and the code does not apply.

The rules can also overlap the main discount. Set the main discount to 5% on Entire store and add a 33% Percentage off rule on creatine. Creatine gets 33% off, and every other product gets 5%. No product gets both.

Use coupons with subscriptions

Each code has a Purchase type, the same setting promotions have. It decides what the code does for subscription products:

Purchase typeOn a subscription product
One-time purchases and subscriptions (default)The code comes off the plan price on the first order
One-time purchases onlyThe product gets just its plan discount. If the cart holds only subscription products, the shopper is told the code isn't valid for the items in their cart

Renewals charge the plan price with either setting. A code only ever discounts the first order, and loyalty points work the same way.

For example, a product costs 100 zł and its plan takes 15% off, so the plan price is 85 zł. A shopper subscribes with a 20% code.

  • With One-time purchases and subscriptions, the first order costs 68 zł, which is 20% off the plan price. Every renewal costs 85 zł.
  • With One-time purchases only, every order costs 85 zł, the first one included.

Some older subscriptions were sold when a code also discounted renewals. They keep the discounted renewal price in Stripe until you contact support.

How customers use it

Customers enter your coupon code in the cart or at checkout, and the discount is applied to their order before they pay. Just share the code wherever you like – in an email, on social media, or with a specific customer.

By default the code field sits open in the checkout's order summary. You can tuck it behind a + row or hide it entirely – see Decide how the discount code field appears.

Where to share your coupon

A coupon is only as good as the people who see it. Good places to share:

Coupons vs promotions

A coupon needs a code; a promotion applies automatically with no code at all. Use a coupon when you want something shareable and targeted, and a promotion when you want everyone to see a lower price right away. See Run promotions for the automatic option.

Common mistakes to avoid

  • No end date. A code with no expiry can keep discounting your sales indefinitely.
  • No usage limit on a generous offer. If a code spreads further than you expected, a usage cap protects your margins.
  • Forgetting product limits. If an offer is meant for one collection, target those products so it doesn't apply storewide by accident.

FAQ

What's the difference between a fixed amount and a percentage discount?

A fixed amount takes off a set sum, like 10 off the order, no matter the basket size. A percentage takes off a share of the total, so the saving grows with larger orders. Choose whichever fits the offer you have in mind.

Can a coupon give free shipping instead of a discount?

Yes. Set the discount type to Free shipping and the delivery charge drops to 0 while product prices stay the same.

Can one coupon give a discount and free shipping?

Yes. Choose Percentage or Fixed amount, enter the amount, and turn on Also free shipping. Customers who use the code get the discount on their products and pay nothing for delivery.

Does the code have to match exactly, including capitals?

No. Coupon codes are matched case-insensitively, so WELCOME10, welcome10, and Welcome10 all work at checkout. You still can't create two coupons that only differ by case.

Can I limit a coupon to certain products?

Yes. Set its scope to specific products, collections, categories, or brands – or leave it on Entire store to apply everywhere. You can also set minimum or maximum cart items or a minimum order value, so the discount only applies in the situations you intend.

Can a coupon work on only one variant of a product?

Yes. Choose the product on the Products tab, then untick every variant except the one you want – say, the "Start" plan. Only that variant gets the discount; the product's other variants pay full price. Leave all variants ticked to cover the whole product.

Can one code give different discounts on different products?

Yes. Set the main discount, then add up to 10 rules under Extra rules. Each one is a percentage off its own products, or a buy X get Y offer. See Add extra rules to one code.

Can a code give "buy 2, get 1 free"?

Yes. Add an extra rule, choose Buy X get Y, and pick the same product on both sides. The customer buys 2, gets 1 at 100% off. The cheapest units are the free ones.

Can a discount depend on how much of another product is in the cart?

Yes. In a Percentage off rule, tick Only when the cart has at least a set number of certain products. Then set the minimum quantity and the products that count. For example, 10% off an add-on product only when the cart has at least 3 tubs of creatine.

What happens when a product matches more than one rule?

It gets one deal, never a sum. YNS checks the extra rules in your list order. The first one that covers the product and applies to the cart wins. The main discount applies only to products that no extra rule takes.

Can a code require a minimum order value?

Yes. Enter an amount in Minimum order value. The code works once the products in the cart reach that amount, counted with tax and before a subscription discount or the code takes anything off. Below it, the shopper sees the amount the cart has to reach. If you sell in several currencies, set a minimum for each one. Without its own minimum, the code doesn't work in that currency.

Can a code skip products that are already on sale?

Yes. Tick Skip items already on sale. Products a promotion has marked down keep their promotional price and get nothing from the code. Volume pricing, subscription discounts, and bundles don't count as a sale.

Does a coupon stack with the subscription discount?

Yes, on the first order. With Purchase type set to One-time purchases and subscriptions, the default, the code comes off the plan price. Choose One-time purchases only to leave subscription products at their plan price. Renewals always charge the plan price, without the code. See Use coupons with subscriptions.

Can I let each customer use a code only once?

Yes. Tick Limit to one use per customer. Each email address can then place one order with the code, and you can still set a usage limit for the total. See Limit a coupon to one use per customer.

How do I stop a coupon after my sale ends?

Set an active end date when you create it, and the coupon stops working on its own. You can also cap total uses with a usage limit so it can't be over-used.

What's the difference between a coupon and a promotion?

A coupon needs a code the customer types in; a promotion applies automatically with no code. Use coupons for shareable, targeted offers and promotions for site-wide sales everyone sees.

What's next