> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexype.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Buy X Get Y

> Reward a qualifying purchase with discounted or free items — BOGO, buy 2 get 1, and accessory pushes.

The customer buys a qualifying set of items, and gets another set discounted or free. This is how you run BOGO, buy-2-get-1, and "add an accessory for ₹300 less" offers.

<Info>
  Shared setup, eligibility, and usage limits are covered in [Coupons](/features/coupons/overview). This page covers only what's specific to this type.
</Info>

## What this type does

The Condition step splits into two halves — what the customer must buy, and what they then get.

<Frame caption="Buy X get Y — the buy side and the get side are configured separately.">
  <img className="rounded-lg" src="https://mintcdn.com/flexype/bFr-dWxa-QGiY3oF/images/features/coupons/bxgy-condition.png?fit=max&auto=format&n=bFr-dWxa-QGiY3oF&q=85&s=620fbfd0b8b6a7a4c800177834a16ae7" alt="Buy X get Y condition step showing Customer buys with quantity and product scope, and Customer gets with quantity, product scope, and percentage off, amount off each, or free reward options" width="1456" height="816" data-path="images/features/coupons/bxgy-condition.png" />
</Frame>

### Customer buys

| Setting       | Options                                                       |
| ------------- | ------------------------------------------------------------- |
| **Qualifier** | **Minimum quantity of items** or **Minimum purchase amount**  |
| **Scope**     | Any items, **specific products**, or **specific collections** |

### Customer gets

| Setting      | Options                                               |
| ------------ | ----------------------------------------------------- |
| **Quantity** | How many reward items                                 |
| **Scope**    | Any items, specific products, or specific collections |
| **Reward**   | **Percentage off**, **Amount off each**, or **Free**  |

There's one more control that matters more than it looks:

* **Set a maximum number of uses per order** — caps how many times the deal repeats in a single cart

<Warning>
  Without a maximum, the offer repeats for every qualifying group. A cart of 10 qualifying items triggers a buy-2-get-1 deal five times. Set the cap unless that's genuinely what you want.
</Warning>

<Note>
  Buy X Get Y is supported for one-time purchases only.
</Note>

## How it calculates

| Setup                                          | Cart                       | Result                        |
| ---------------------------------------------- | -------------------------- | ----------------------------- |
| Buy 1 → get 1 Free, same collection, max 1 use | 2 qualifying items at ₹500 | 1 item free → ₹500 off        |
| Buy 1 → get 1 Free, **no max**                 | 6 qualifying items at ₹500 | Deal triggers 3× → ₹1,500 off |
| Buy 2 → get 1 at 50% off, max 1                | 3 items at ₹400            | ₹200 off                      |
| Buy ₹1,500 worth → get 1 accessory ₹300 off    | ₹1,600 cart + accessory    | ₹300 off the accessory        |

## Examples

<AccordionGroup>
  <Accordion title="Classic BOGO" icon="gift">
    **Setup:** Coupon code `BOGO50` (or Automatic)
    **Customer buys:** Minimum quantity 1, from the target collection
    **Customer gets:** Quantity 1, same collection, **Free**
    **Max uses per order:** 1

    The cleanest version of the offer, and the cap keeps a large cart from turning into a giveaway.
  </Accordion>

  <Accordion title="Buy 2 get 1 half price" icon="percent">
    **Customer buys:** Minimum quantity 2, specific products
    **Customer gets:** Quantity 1, same products, **Percentage off 50%**
    **Max uses per order:** 2

    Encourages three-item carts while capping exposure at two rounds.
  </Accordion>

  <Accordion title="Push an accessory" icon="plus">
    **Customer buys:** Minimum purchase amount ₹1,500, any items
    **Customer gets:** Quantity 1, accessories collection, **Amount off each ₹300**
    **Max uses per order:** 1

    Attaches a margin-friendly add-on to an order the customer was already placing.
  </Accordion>

  <Accordion title="Clear stock with a free add-on" icon="boxes-stacked">
    **Customer buys:** Minimum quantity 1, any items
    **Customer gets:** Quantity 1, slow-moving collection, **Free**
    **Max uses per order:** 1

    Moves dead stock without discounting anything you actually want to sell at full price.
  </Accordion>
</AccordionGroup>

## Frequently asked questions

<AccordionGroup>
  <Accordion title="My offer is giving away far too much.">
    Enable **Set a maximum number of uses per order**. Without it, the deal repeats for every qualifying group in the cart.
  </Accordion>

  <Accordion title="Can the reward come from a different collection than the qualifier?">
    Yes. The buy side and get side are configured independently, which is exactly how accessory and cross-sell offers are built.
  </Accordion>

  <Accordion title="Does the customer have to add the free item themselves?">
    Yes — the reward items must be in the cart. The in-app note says it directly: customers must add the specified quantity to their cart.
  </Accordion>

  <Accordion title="Can I use this for subscriptions or recurring orders?">
    No. Buy X Get Y supports one-time purchases only.
  </Accordion>
</AccordionGroup>

<CardGroup cols={2}>
  <Card title="All coupon types" icon="ticket" href="/features/coupons/overview">
    Shared setup, limits, and combining rules
  </Card>

  <Card title="Exclusive Free Gift" icon="box-open" href="/features/coupons/free-gift">
    Simpler alternative when there's no "buy X" condition
  </Card>
</CardGroup>
