How to Create Buy X Get Y Discounts
Sometimes, you want to offer customers a special promotion where buying one product unlocks a discount on another.
Using our advanced logic builder, you can create a Buy X Get Y discount easily.

Click the thumbnail above to watch a video demonstration of this setup.
- Click on "Create Product Discount" in the app.
- Name the discount (e.g., Buy X Test) and click on "Edit Logic."
- Choose the "Buy X Get Y" template.
- In the Buy X step, set the quantity to trigger the discount (e.g., 2).
- Change "All products" to "Specific products," click Browse, and pick the products (e.g., Example Product 1).
- Optionally check Limit uses per order and enter a number.
- Select the discount type (Get Y) and set the discount percentage (e.g., 50%) for Example Product 2.
- Review the logic and click "Save."
How can I make a BXGY where the X and Y are the same product?

Make sure the requirement quantity/price is equal to the sum of both the non-discounted and discounted products.
For example, if you have a Buy 1 Shoe, Get 1 Shoe Free, then you need a discount like this:
Buy X (2 Shoe) → Apply discount (Get Y, Customer gets 1 Shoe, 100%)
Otherwise, if your Buy X had a quantity of 1, both shoes would become free instead of just 1.
How can I exclude a product from my Buy X step?

You can easily use a "Check if" step before a "Buy X" step if you want to exclude specific products from being considered in the requirements of the "Buy X" step.
Can one Buy X unlock discounts on two different products?
It depends on how many of each you want to discount. Using a Hub that unlocks $100 off a quilt and $50 off a sheet as an example:
- "If the cart has at least one Hub, take $100 off quilts and $50 off sheets": supported.
- "If the cart has at least one Hub, take $100 off one quilt and $50 off one sheet": supported.
- "For every Hub in the cart, take $100 off one quilt and $50 off one sheet" (2 Hubs unlock 2 quilts and 2 sheets): not supported. A Get Y step selects one group of products, so it can't pair each Hub with both a quilt and a sheet.
Your Feedback Matters
Your review helps keep this small business running. Please leave one on the Shopify App Store.
Updated on: 22/10/2026
Thank you!
