How to set up a Buy X Get Y discount
Give a free gift or a discounted product when customers buy specific products.
Buy X Get Y gives customers a free gift or a discounted product (Y) when they buy certain products (X). It works well for gifts with purchase and "buy one, get one" offers. This guide follows the Buy X Get Y form from top to bottom.
1. Open the Buy X Get Y form
- Go to Discounts and click Create discount.
- Choose Buy X Get Y.
The page is called Create offer and says Buy X Get Y — offer a gift or a discounted product with a purchase. Use Discounts (top left) to go back and Save (top right) when you finish.
2. Offer name
Type a name in Offer name. Only you see it, and it must be different from every other discount in your store.
3. Select offer type
Click one of the five cards:
| Card | What it does |
|---|---|
| Product + Product | Offer BXGY discounts to customers. Specify which products will be included in the offer. |
| Collection + Collection | Select from which collections the products in the cart have to be. |
| Collection + Product | Specify the Y product, while X can be any product from a collection. |
| Product + Collection | Specify the X product and add any product from a collection as Y. |
| Same product (tiers) | Reward customers for buying more of the same product, for example Buy 2 Get 1 free, Buy 3 Get 2 free. Growth and Pro. |
4. Select X: what the customer buys
The card is called Select X products or Select X collections, depending on your choice.
- For products, pick the products and set Buy a quantity of each of the following products.
- For collections, pick the collections and set Shopper buys a quantity of products in total from the following collections (the same product or different ones).
5. Select Y: what the customer gets
The card is called Select Y products or Select Y collections (Select Y product(s), which will be discounted).
- Offer on any one product only – when ticked, shoppers choose which of the selected products is free, and Shopper can choose sets how many Free products to choose. The quantity applies to each chosen product. When not ticked, all selected products are included together, and the quantity applies to each product.
- Get – the quantity of Y the customer receives.
6. Same product (tiers)
For Same product (tiers), the card is called Select products: select the product or products this offer applies to. Each product is counted on its own, so the customer needs the Buy plus Get units of that same product in the cart. Then add tiers with Add tier. Each tier has a Tier name (for example Starter Deal), Buy and Get. Add at least one valid tier: Buy and Get quantities of 1 or more.
7. Discount type
Hover the ? icon next to Discount type for a note: the Get discount value (amount off or fixed price) is in your store currency and applies to each item you give.
- Set discount – type an Amount and choose a Type (% Off or amount off).
- Set free gift – Y is free.
8. Schedule offer
Set Starting time (required) and Ending time, and tick Enable countdown timer (Banner or Popup) for a live countdown. See Schedule offer and countdown timer.
9. Other settings
- Show offer using customer tags: only customers with at least one of these tags see and receive the offer.
- Hide offer using customer tags: customers with any of these tags never see or receive the offer.
- Country selection: limits the offer to the countries you select.
These need the Growth or Pro plan. See Other offer settings.
10. The right sidebar
Set Show offer table on product page, Allow discount on Point of Sale (POS), the Offer title and Offer description, then choose a Layout and Card style. An Offer preview shows the result. Modern styles need the Growth or Pro plan. See Offer layout and card style.
11. Banner customization
Configure the message as per your first discount tier. Edit the Message and the colors:
- Message – the default is Buy {{x_qty}} products from {{x_collections}} and Get {{discount}} on {{y_qty}} products from {{y_collections}}. You can use these Liquid variables: {{x_qty}} (a number), {{y_qty}} (a number), {{x_collections}} and {{y_collections}} (for example a T-shirt collection, a Nike vendor or a shirt type), and {{discount}} (for example 5% off, $5 off or $5).
- Background color, Font color, Border color and Border radius.
12. Message customization
Write an X message and a Y message for the product page. The same Liquid variables are listed under the fields.
13. Save
Click Save. A message says Discount created and the discount applies automatically at checkout. Save stays disabled until the offer has a name and a start date, the end is after the start, and the products or collections are chosen.
Tips for best performance
- For a free gift, use a low-cost product with a high perceived value.
- Make the X message say exactly what to add, for example Add 2 more to unlock your free gift.
- Use Same product (tiers) for products customers buy again and again.