You create discounts in Store Admin. The form shows only the sections and fields that apply to the type you choose.
Go to Markets and open the market.
Open the Discounts tab and select Create Discount.
Under Discount Type, choose a type and select Continue.
In Details, enter a Name, which only you see, and an Offer label: the name customers see for the discount everywhere (product pages, cart, checkout, their order and order emails), up to 40 characters. Choose the Method: Coupon or Automatic. For a coupon, enter a Coupon Code or select Generate. Enter a Priority number.
In the next section, set the type's value, such as the percentage, the amount, the offer or the gifts.
In Targeting, choose what the discount applies to. Only percentage, fixed amount and free gift discounts have this section.
In Conditions, set any Minimum Subtotal, Minimum Quantity or Maximum Discount the type allows.
In Customers, choose who can use the discount.
In Schedule, set when the discount starts and, optionally, when it ends.
In Limits, set an optional Total Usage Limit and Per Customer Limit.
Select Create Discount to save it.
What each type needs
Percentage. Enter a value above 0 and up to 100, with up to two decimal places. You can add a Maximum Discount to cap the saving.
Fixed amount. Enter the amount in your store's base currency. You can also enter amounts for the market's other currencies; any you leave empty are converted from the base amount.
Buy X Get Y. Under Buy Items From and Get Items From, choose simple products, exact variants, collections or categories. For a variable product, choose its variants. Set how many items the customer buys and gets, and whether the Get items are free, a percentage off or an amount off.
The rewards are the cheapest items that match Get Items From, as long as enough items are left to meet the Buy requirement, whatever order they were added in. For example, with Buy 2 Get 1 free and items priced 900, 500 and 100 that all match both Buy Items From and Get Items From, the 100 item is free. The offer repeats for each complete set in the cart, up to Max Uses Per Order if you set it. One item can't count as both a bought item and a reward.
Shoppers add the reward items to the cart themselves; the discount doesn't add them. An amount off is entered in your store's base currency and converted for the market's other currencies at the exchange rate.
Only when bought together. A percentage or fixed-amount discount can apply only to items bought together. Turn on Only when bought together and add 2 to 20 Items bought together, each with a quantity. A product accepts any of its variants; a variant accepts only that variant. A product and one of its own variants can't both be added.
The percentage or amount then comes off each complete set, never more than the set costs. You can also set Maximum sets per order. While it's on, the discount covers the whole order, so Targeting, Exclude sale items and Minimum Quantity don't apply.
Free gift. Choose 1 to 10 Gift products, each with a quantity. Only products marked gift only can be gifts. For a variable product, open it and choose the exact variant to grant.
Under How the gift is added, choose Add automatically or Offer to claim. Discounts at cart and checkout describes what shoppers see with each. Use Targeting and Conditions to set what the shopper must buy.
Bigger savings for bigger orders. Create one percentage or fixed amount discount per level, each with its own Minimum Subtotal, for example 10% off from ₹1,000 and 15% off from ₹2,000. In the market's Discount Settings, set Discount Stacking to One discount per order: the order then gets the best level it reaches.
A discount never takes merchandise below zero: a subtotal of 100 with 200 off becomes 0.
Unique codes for each customer
For a coupon, under Codes, choose One code to give everyone the same code, or Unique codes to give each customer their own. A unique code works only at a checkout with the email it was created for, guests included, and only once. You can't change this choice after the discount is created.
With Unique codes, the discount has no code of its own. You can set a Code prefix, which starts every code, and how many days each code works after it is created. Unique-code discounts are for everyone, can be used once per customer, and aren't shown in the cart, at checkout or on product pages.
Codes are created when an app gives one to a customer, for example a sign-up popup, or through the Store API. To create one yourself, open the discount and, under Customer codes, enter the customer's email and select Create code. If that email already has a code, you see it instead. You can search codes by code or email, copy a code, and delete one so it stops working. Orders that already used a deleted code keep their discount.