# How to Add BOGOS Sub-conditions to Bundle, Upsell, Discount?

Overall, sub-conditions **add extra rules to decide who can see and get your offers**. Therefore, only targeted customers can see and apply the offer, while others won't see it at all.

<figure><img src="/files/EozI8hqrHi1W2pkeT4ZW" alt="" width="503"><figcaption></figcaption></figure>

{% hint style="info" %}

* These sub-conditions are optional. If you don't add any, the offer will be available to all customers.
* You can combine multiple sub-conditions in one offer. Customers must meet all of them to qualify for your offer.
  {% endhint %}

### Feature List Overview

See this feature list to understand which sub-conditions are available for each offer type before setting up your promotion:

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

***\*Upsell Trigger:** Set these conditions in Upsell Trigger → Customer trigger in* [*Checkout Upsell*](https://bogos-guideline.gitbook.io/user-guide/detailed-guide/detailed-doc/pages/dABV2jjJXn93RXXx2FIq#id-2.4-customer-trigger) *or* [*Thank You Page Upsell*](/user-guide/detailed-guide/upsell-offer/create-thank-you-page-upsell.md#customer-trigger) *set up, not in the sub-conditions section.*

### 1. Specific Link Address

This condition only allows customers who access your store through a specific link to get your offers. Use this for email campaigns, social media posts, or influencer partnerships to target specific traffic sources.

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

***Create a specific link address for an offer:***

1. *Choose a link destination:* Select where customers should land (home page, collection page, or product page).
2. *Enter a word to customize* (e.g., summersale2024): This creates a unique link for your campaign.
3. *Copy the link generated:* Copy and share this link in your marketing campaigns. Customers who access your store via this link will get your offers.

***Create many link destinations for an offer:***

If you want to have multiple link destinations (not just the one selected above), for example, use this when your campaign promotes multiple products, and you want customers to enter from different product links to get your offer, follow these steps:

1. *Repeat steps* to create a specific link address for an offer
2. ***Copy the parameter*** and add it to the end of each link.

{% hint style="info" %}
If your URL already includes a “?” symbol, **change the “?” in the parameter to “&”.** Examples:

* Original URL with “?”: <https://yourstore.com/product?variant=12345>
* URL with correct parameter: <https://yourstore.com/product?variant=1234&#x35;**&**&#x66;reegifts\\_code=summersale2024>
* URL with wrong parameter: <https://yourstore.com/product?variant=1234&#x35;**?**&#x66;reegifts\\_code=summersale2024>
  {% endhint %}

### 2. Customers' order history

This sub-condition targets customers based on their purchase history. Only customers who meet the order requirements you set will be eligible for the offer.

{% hint style="info" %}
This sub-condition requires customers to log in to your store.
{% endhint %}

<figure><img src="/files/GTxpueBIJCHffaC6Yb4c" alt="" width="426"><figcaption></figcaption></figure>

1. **Select when order was created from:** Set a date range to apply the conditions you select below within that timeframe, or leave it blank to apply them across all time.
2. **Select the conditions you want to apply:**

* *Total spent in order history:* Target customers based on their total spend on your store (e.g., reward high-spending, VIP customers).
* *Total spent on last order:* Target customers based on their most recent order value. (e.g., low spender).
* *Total number of orders placed:* Target customers based on how many orders they’ve made (e.g., first-time or repeat buyers).
* *Limit a number of uses per customer:* Set how many times each customer can use the offer. After reaching the limit, they won’t qualify again.

### 3. Customer tags

This sub-condition lets you control who can receive an offer based on customer tags you set up, such as VIP, wholesale, or low spenders.

{% hint style="info" %}

* Customer tags must be set up in your Shopify admin under Customers before being used in BOGOS.
* This sub-condition requires customers to log in to your store.
  {% endhint %}

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

***▶ To show offers to specific customer tags:***

1. *Select tags:* Enter the customer tags you want to target (e.g., VIP, wholesale, low spender).
2. BOGOS will apply the offer only to customers whose accounts match these tags.

***▶ To exclude offers from specific customer tags:***

1. *Select tags:* Enter the customer tags you want to exclude (e.g., VIP, wholesale, low spender).
2. *Exclude customers with these tags:* Customers with the selected tags will not receive the offer. The offer will apply to all other logged-in customers.
3. *Consider no-login as a customer with no tags (recommended):* Turn this on to **allow not logged-in** customers to receive the offer as well.

### 4. Customer location

This sub-condition lets you control who can receive an offer based on the customer’s location, helping you run location-specific promotions.

{% hint style="info" %}
If you have set up Shopify Markets and want to apply offers to them, use the [Markets sub-condition](#id-5.-markets) instead.
{% endhint %}

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

▶ **To show offers to specific locations:**<br>

1. *Select location:* Choose one or more countries where the offer should apply (e.g., France).
2. *BOGOS will check* the **customer’s IP address** and apply the offer only if their country matches the selected locations.

**▶ To exclude offers from specific locations:**

1. *Select location:* Choose the countries you want to exclude (e.g., France).
2. *Exclude customers from selected locations:* Prevent customers from selected locations from receiving the offer. The offer will apply to customers from all other locations instead.

### 5. Markets

This sub-condition syncs with your Shopify Markets setup to decide which customers can receive an offer.

{% hint style="info" %}
Shopify Markets must be set up in your Shopify admin before being used in BOGOS.
{% endhint %}

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

**▶ To show offers to specific markets:**

1. *Select markets:* Choose one or more Shopify Markets (for example: Europe, Asia).

**▶ To exclude offers from specific markets:**

1. *Select markets:* Choose the markets you want to exclude (for example: Europe, Asia).
2. *Exclude customers from selected markets:* Enable it to prevent customers from the selected markets from receiving the offer. The offer will apply to customers from all other markets instead.


---

# 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://bogos-guideline.gitbook.io/user-guide/detailed-guide/detailed-doc/how-to-add-bogos-sub-conditions-to-bundle-upsell-discount.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.
