Create a Buy X Get Y Offer
Create an EverShop coupon that makes some units free or cheaper, such as "buy 2 cups, get 1 free".
Before you start
- A Buy X get Y offer is a coupon. The customer must enter the code in the cart or at checkout.
- The offer works on one product, chosen by its SKU (stock keeping unit, the product code). The X units and the Y units are the same product.
- Each product variant, such as a color, is a separate product with its own SKU. Two white cups and one black cup do not make a set. See How Variants Work.
- The customer adds every unit to the cart, also the free ones.
- Buy X get Y is one of five discount types. To compare them, see Coupon Types.
Steps
The demo coupon CUPS3FOR2 gives a free Ceramic Coffee Cup - White to customers who buy 2. It gives at most 1 free cup per cart.
-
Go to Promotion › Coupons and click New Coupon.
-
In General Information, enter the Coupon Code and the Description, and keep Status on Enabled. Enter 0 in Discount amount. See Create a Coupon.
-
In Discount Type, choose Buy X get Y. A table appears with the columns SKU, X, Y, Max of Y and Discount percent.
-
Click Add product below the table. A new row appears with X 1, Y 1, Max of Y 2 and Discount percent 100.
-
Click Choose SKU in the row. In the Choose Product SKU dialog, search for the product by its name. Check the SKU under the name, then click Select next to it. The dialog closes, and the row shows the SKU.
-
Enter X, Y, Max of Y and Discount percent. For CUPS3FOR2, these are 2, 1, 1 and 100. See How EverShop counts the discounted units.
-
Optional: Add order conditions or customer conditions. See Buy X get Y with conditions.
-
Click Save at the bottom of the page.
EverShop shows "Coupon created successfully!" and opens the coupon's page. Customers can now use the code.
How EverShop counts the discounted units
For each full set of X + Y units of the product, Y units get the discount. Max of Y caps the number of discounted units in one cart.
- The discount per unit is the Discount percent of the product's price. With 100, the unit is free. With 50, it is half price.
- The cart line keeps the full price. The discount shows as its own line in the order summary.
- Too few units: with fewer than X + Y units, the code applies, but the discount is $0.00. See The cart has too few items for Buy X get Y.
CUPS3FOR2 has X 2, Y 1 and Max of Y 1. One cup costs $15.00:
| White cups in the cart | Sub total | Discount | Total, before shipping |
|---|---|---|---|
| 2 | $30.00 | $0.00 (no full set of 3) | $30.00 |
| 3 | $45.00 | $15.00 (1 cup free) | $30.00 |
| 5 | $75.00 | $15.00 | $60.00 |
| 7 | $105.00 | $15.00 (Max of Y is 1) | $90.00 |
Seven cups make two full sets of 3, but Max of Y stops the discount at 1 cup. With Max of Y 2, 6 or 7 cups would get 2 free cups, $30.00 off.
More examples:
- Buy 1, get 1 free, once per cart: X 1, Y 1, Max of Y 1, Discount percent 100. Two units cost the price of one.
- Buy 2, get the third at half price: X 2, Y 1, Max of Y 1, Discount percent 50. Three cups cost $15.00 + $15.00 + $7.50 = $37.50.
Several products
To make an offer on several products, click Add product again and add one row for each product. Each row counts only the units of its own SKU. Max of Y also applies to each row on its own. For example, add one row for the white cup and one for the black cup. Both rows have X 2, Y 1 and Max of Y 1. 3 white cups and 3 black cups get 2 free cups. 2 white cups and 1 black cup get none.
To remove a row, click the minus icon at its end.
Buy X get Y with conditions
A Buy X get Y coupon can also have order conditions and customer conditions. The customer then gets the discount only when the cart meets every condition. See Set Coupon Conditions.
EverShop checks the conditions before the discount. For example, CUPS3FOR2 with a Minimum purchase amount of 40 applies to 3 cups: their Sub total is $45.00. The customer then pays $30.00.
A Buy X get Y coupon can also give free shipping, with Free shipping? in General Information. See Offer Free Shipping with a Coupon.
What your customers see
The customer adds the units to the cart and applies the code. The order summary shows the full Sub total, then a line such as "Discount (CUPS3FOR2)" with the discount:
- The checkout shows the same Discount line.
- The order keeps the coupon code and the discount amount. In the admin panel, you see them in the order's payment card. See View an Order.
Settings on this page
The Buy X get Y table in the Discount Type card has one row per product:
| Column | What it does | New row |
|---|---|---|
| SKU | The product of the offer. Click Choose SKU to choose it. | Empty |
| X | How many units the customer buys at full price in each set. At least 1. | 1 |
| Y | How many units get the discount in each set. At least 1. | 1 |
| Max of Y | The most units that get the discount in one cart. At least 1. | 2 |
| Discount percent | The discount on each Y unit, in percent, up to 100. 100 makes the unit free. | 100 |
X, Y, Max of Y and Discount percent are required. An empty field shows a message such as "Max of Y is required".
Troubleshooting
Why do different colors of a product not count together?
Each color is a product variant with its own SKU, and each row counts one SKU. A cart with 2 white cups and 1 black cup has no full set of one SKU. Its discount is $0.00. Tell customers which product the offer is for, such as "white cups".
Next steps
- Set Coupon ConditionsLimit a coupon to some carts or customers.
- Coupon TypesCompare Buy X get Y with the other discount types.
- Coupon Not Working at CheckoutFind out why a code gives no discount.
- How Variants WorkLearn why each color or size has its own SKU.
For developers
To create Buy X get Y coupons from code, see the buyx_gety field in the Promotion REST API.