# 🛍️ Set Discounted Price for a Product When Buying Another Product

The **Buy One Get One (BOGO)** feature lets you create powerful promotional rules that automatically apply a **discounted price to a product when customers buy another specific product**.

This feature is perfect for encouraging bulk purchases, cross-selling related items, or rewarding loyal customers — especially in a **B2B or wholesale environment**, where buying in quantity is common.

***

### ⚙️ How to Set Up the Discount Rule

Follow these steps to create and apply your Buy One Get One discount rule:

#### 🔹 Step 1: Access the BOGO Settings

1. From your **Shopify admin**, go to **Apps → BSS B2B Solution**.
2. In the left sidebar, open **Discount**, and toggle on the **Buy One Get One**.

***

#### 🔹 Step 2: Add a New Discount Rule

1. Click **Add Rule** to create a new BOGO promotion.
2. In the setup form, enter your rule **Name** for easy management.

***

#### 🔹 Step 3: Define the Purchase Conditions

1. Under **Customer buys** section, configure the volume condition (Minimum quantity of items, Minimum purchase amount) and eligible products. For example, your eligible customers have to purchase at least "5 items of product A" or "200$ of product B"
2. Additionally, you can configure either specific products or specific collections.

***

#### 🔹 Step 4: Set the Discounted Product and Price

1. Under **Customer gets**, you can configure number of products with attractive discount
2. Also under **Customer gets**, you can define the **discount value** of above selected products:
   * **Percentage Discount**: Apply a certain percentage off.
   * **Free**: Get products for FREE
3. You can also configure either specific products or specific collections.

💡 *Example:* When a customer buys **Product A**, they can purchase **Product B** for **50% off** or FREE at $0.

***

#### 🔹 Step 5: Apply to Specific Customers or Groups *(Optional)*

If you want the promotion to target specific audiences:

1. Choose whether the rule applies to **All customers**, **Tagged customers**, or **Customer groups**.
2. Save your changes.

***

#### 🔹 Step 6: Test the Rule on Your Storefront

1. Add the “Buy” product to your cart according to the rule conditions.
2. Add the “Get” product to your cart.
3. The discounted price will be applied automatically based on your configuration.

***

### 💡 Example

Let’s say you set the rule:

* **Buy Product A → Get Product B at 50% off**

When a customer adds **Product A** to the cart and also adds **Product B**, the system will automatically discount Product B’s price.

This type of promotion is perfect for **bundle sales**, **mix-and-match offers**, or **upselling complementary products**.

## **How does it look on the store:**

For demonstration, I'll set up the discount as following:

Customers have to buy 2 of my freewheels to get pants at 50% off:

<div align="left"><figure><img src="/files/yHeDOKa1onIEWrSexQYB" alt="" width="330"><figcaption></figcaption></figure> <figure><img src="/files/bFXJYwcjO0K89zL34zb2" alt="" width="383"><figcaption></figcaption></figure></div>

The result in the Cart page:

<figure><img src="/files/BPwxJCAzDqmPYom83OUL" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If you have any trouble with the feature, feel free to reach out to us at [**support-sbc@bsscommerce.com**](mailto:support-sbc@bsscommerce.com) or [**Live Chat**](https://go.crisp.chat/chat/embed/?website_id=9f64b5a9-1a02-4190-93b8-8ef56b19f740)**.**
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-shpf.bsscommerce.com/b2b-wholesale-solution/other-b2b-modules/buy-one-get-one/set-discounted-price-for-a-product-when-buying-another-product.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
