> For the complete documentation index, see [llms.txt](https://support.functionjunctionapp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.functionjunctionapp.com/function-types/bogo-buy-one-get-one.md).

# BOGO (Buy One, Get One)

BOGO (Buy One, Get One) discounts let you offer free or discounted products when customers add specific items or quantities to their cart.&#x20;

For example, you can create offers like "Buy 1, get 1 free," "Buy 2, get 1 at 50% off," or "Buy a main item, get an accessory free." BOGO deals can help to boost sales volume, clear inventory, and increase customer satisfaction.

## In this section:

* [Creating a BOGO function](#creating-a-bogo-function)
  * [Example of a BOGO discount](#example-of-a-bogo-discount)

***

## Creating a BOGO function

### Step 1 of 5:

1. From the Function Junction dashboard, click **Create new campaign**.
2. Under **Create campaign**, click **Start from scratch.**
3. Beside **BOGO (Buy One, Get One)**, click **Continue**.
4. Under **Function name**, give your discount a unique name so you can identify it later, then click **Next**.
5. Optional: Under **Eligibility**, select **Specific condition** to set criteria based on: **customer total spend, customer tags, customer orders count, cart subtotal, cart items quantity, cart has items,** and **cart has no items**. You can add additional conditions by clicking **Add a condition**.
6. Click **Next.**

### Step 2 of 5:

1. Specify the items customers **need to buy** for the discount:
   1. From the drop-down menu, set the items to be included. This can be based on: **product/variant, product tag, collection, vendor, type,** or **on sale**.
   2. Beside **selected items quantity,** use a measurement condition like **`is greater than`** to set the item quantity required to get the discount, and fill in the number in the text field.
   3. Optional: If you want to add more products with different quantity requirements, then click **Add an item** and repeat steps 1a and 1b.
2. Click **Next**.

### Step 3 of 5:

1. Specify the items customers **will receive** for the discount:
   1. From the drop-down menu, set the items to be included. This can be based on: **product/variant, product tag, collection, vendor, type,** or **on sale**.
   2. Beside **selected items quantity,** use a measurement condition like **`is greater than`** to set the item quantity required to get the discount, and fill in the number in the text field.
   3. Optional: If you want to add more products with different quantity requirements, then click **Add an item** and repeat steps 1a and 1b.

### Step 4 of 5:

1. Specify the **discount value** for the product(s) the customers **will receive.**
   1. Under **Discount type**, click the drop-down menu and select either **Percentage off** or **Fixed discount.**
   2. Depending on which type you chose, enter the number for the percentage off or the fixed discount, respectively. &#x20;
   3. Optional: Check the box **Limit number of bundle sets purchased per order** to set a number of bundle sets that customers can get in a given order.
2. Click **Next**.

### Step 5 of 5:

1. **Automatic**: Under **Discount message**, if you select **Yes**, then enter the discount message in the field provided below.
   1. **With Discount Code**: Enter the discount code that you want customers to enter at checkout.
2. Under **Combinations**, if you want this discount to be combined with other discounts, then click **Yes**, and check which types of discounts that you want it to be combinable with.&#x20;
3. When you're done, click **Publish**.

When your discount is published, if you want to advertise it, then you can [publish a widget to your store](/creating-and-publishing.md#step-2-publishing-a-widget-to-your-storefront).

***

### Example of a BOGO discount

In this example, Dua has a makeup brand, and she wants to run a sale that offers customers the opportunity to buy three lipsticks, get the fourth one free.&#x20;

She wants the discount to apply automatically when all 4 lipsticks are added to the cart.

* **Function name**: In this case, Dua would give her BOGO discount a name like `Buy 3 lipsticks, get 1 free` so that she can identify it later.
* **Eligibility**: She wants this to be eligible to all shoppers, so she leaves it set **All customers**.
* **Specify the X product**: In step 2, Dua would set the condition to: `product/variant` `is any` and then select her lipstick products. She would also set the `selected item quantity` `is equal to` `3` .
* **Specify the Y product**: In step 3, Dua would set the condition to: `product/variant` `is any` and then select her lipstick products again. She would also set the `selected item quantity` `is equal to` `1`.
* **Select the discount value for Y product**: Dua wants the 4th lipstick to be free, so in step 4 she would set the action to: `Percentage off` `100%`.&#x20;
* **Discount method**: In step 5, Dua would set the **Discount type** to **Automatic.** She wants customers to know about it, so she writes the **Discount message** to be `Buy 3 lipsticks, get one free!` She doesn't want this discount to combine with any other discounts so she leaves **Combinations** set to **No**.
