> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.skailama.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to setup an Advanced buy X get Y (BOGO) discount?

${youtube}[How to setup an Advanced buy X get Y (BOGO) discount?](-nTo5KMlu9Y)
This guide explains how to set up a "Buy X Get Y" promotion, where a customer's purchase of a specific item X)  unlocks a discount on another item (Y).

### 1. Core "Buy X Get Y" Setup

1. **Start and Name the Campaign**
    * In the Kite app, select the **Buy X Get Y** custom discount.
    * Choose your preferred method: **Automatic** (applies discount directly in the cart) or **Discount code** (customer enters a code at checkout).
    * Give the campaign a title.
2. **Define the "X" Condition (What the Customer Buys)**
    * In the "Product X" section, specify the products that qualify for the offer (e.g., select **Collections** and choose a specific one).
    * Enter the minimum quantity of these "X" items a customer must add to their cart to unlock the offer.
3. **Define the "Y" Condition (What the Customer Gets)**
    * In the "Product Y" section, select the specific product(s) that will be discounted (e.g., a gift card).
    * Enter the quantity of "Y" items that will receive the discount once the condition is met.
4. **Set the Discount Value**
    * Choose the discount type that will apply to the "Y" product: **Percentage**, **Fixed amount**, or **Fixed price**.
    * Enter the discount value (e.g., `10%`).

### 2. Optional Settings and Refinements

You can further customize your offer with these settings:
* **Limit Application Per Order:** Control how many times the discount can be applied within a single order.
* **Discount Application Order:** If applicable, choose whether the discount should be applied to the **cheapest** or the **most expensive** product.
* **Additional Eligibility Rules:** Add extra conditions for the entire offer, such as requiring a minimum cart subtotal, or limiting it to specific markets or customers with certain tags.

### 3. Save and Test Your Offer

1. Click **Save**.
2. Go to your online store and clear your cart.
3. Add the required "X" product(s) to the cart.
4. Add the "Y" product to the cart.
5. View the cart to confirm that the discount has been correctly applied to the "Y" product.
