> For the complete documentation index, see [llms.txt](https://docs.bogos.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bogos.io/cn/detailed-guide/detailed-doc/how-to-add-bogos-sub-conditions-to-bundle-upsell-discount.md).

# 如何为捆绑、追加销售、折扣添加 BOGOS 子条件？

总的来说,子条件**添加了额外的规则,以决定谁能看到并获得您的优惠活动**。因此,只有目标客户才能看到并使用该优惠活动,其他客户则完全看不到。

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

{% hint style="info" %}

* 这些子条件是可选的。如果您不添加任何子条件,该优惠活动将对所有客户开放。
* 您可以在一个优惠活动中组合多个子条件。客户必须满足所有子条件才符合优惠活动的资格。
  {% endhint %}

### 功能列表概览

查看此功能列表,了解在设置促销活动之前,每种优惠类型可使用哪些子条件:

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

*\*\*\*追加销售触发条件:\*\*在* [*结账页追加销售*](https://docs.bogos.io/cn/detailed-guide/detailed-doc/pages/dABV2jjJXn93RXXx2FIq#id-2.4-customer-trigger) *或* [*感谢页追加销售*](/cn/detailed-guide/upsell-offer/create-thank-you-page-upsell.md#customer-trigger) *设置中的追加销售触发条件 → 客户触发条件里设置这些条件,而不是在子条件部分设置。*

### 1. 特定链接地址

此条件仅允许通过特定链接访问您商店的客户获得您的优惠活动。可将其用于电子邮件营销活动、社交媒体帖子或网红合作,以定向特定的流量来源。

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

***为优惠活动创建特定链接地址:***

1. *选择链接目标位置:* 选择客户应到达的位置(首页、系列页面或商品页面)。
2. *输入用于自定义的词语*(例如:summersale2024):这将为您的活动创建一个唯一的链接。
3. *复制生成的链接:* 复制该链接并在营销活动中分享。通过此链接访问您商店的客户将获得您的优惠活动。

***为优惠活动创建多个链接目标位置:***

如果您希望设置多个链接目标位置(而不仅仅是上面选择的一个),例如,当您的活动推广多个商品,并希望客户通过不同的商品链接进入以获得您的优惠活动时,请按照以下步骤操作:

1. *重复上述步骤* 为优惠活动创建特定链接地址
2. ***复制参数*** 并将其添加到每个链接的末尾。

{% hint style="info" %}
如果您的 URL 已经包含“?”符号,**请将参数中的“?”改为“&”。** 示例:

* 带“?”的原始 URL:<https://yourstore.com/product?variant=12345>
* 带正确参数的 URL:<https://yourstore.com/product?variant=1234&#x35;**&**&#x66;reegifts\\_code=summersale2024>
* 带错误参数的 URL:<https://yourstore.com/product?variant=1234&#x35;**?**&#x66;reegifts\\_code=summersale2024>
  {% endhint %}

### 2. 客户订单历史

此子条件根据客户的购买历史进行定向。只有满足您设置的订单要求的客户才有资格获得该优惠活动。

{% hint style="info" %}
此子条件要求客户登录您的商店。
{% endhint %}

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

1. **选择订单创建的起始时间:** 设置一个日期范围,在该时间范围内应用您下方选择的条件,或留空以应用于所有时间。
2. **选择您要应用的条件:**

* *订单历史中的总消费:* 根据客户在您商店的总消费定向客户(例如,奖励高消费的 VIP 客户)。
* *最近一笔订单的消费金额:* 根据客户最近一笔订单的金额定向客户(例如,低消费客户)。
* *下单总次数:* 根据客户下单次数定向客户(例如,首次购买或复购客户)。
* *限制每位客户的使用次数:* 设置每位客户可使用该优惠活动的次数。达到上限后,客户将不再符合资格。

### 3. 客户标签

此子条件可让您根据设置的客户标签(如 VIP、批发或低消费客户)控制谁可以获得优惠活动。

{% hint style="info" %}

* 客户标签必须先在 Shopify 后台的“客户”下设置,然后才能在 BOGOS 中使用。
* 此子条件要求客户登录您的商店。
  {% endhint %}

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

***▶ 向特定客户标签展示优惠活动:***

1. *选择标签:* 输入您想要定向的客户标签(例如:VIP、批发、低消费客户)。
2. BOGOS 将仅对账户与这些标签匹配的客户应用该优惠活动。

***▶ 将特定客户标签排除在优惠活动之外:***

1. *选择标签:* 输入您想要排除的客户标签(例如:VIP、批发、低消费客户)。
2. *排除具有这些标签的客户:* 具有选定标签的客户将无法获得该优惠活动。该优惠活动将应用于所有其他已登录的客户。
3. *将未登录视为无标签客户(推荐):* 开启此选项以**允许未登录**的客户也能获得该优惠活动。

### 4. 客户位置

此子条件可让您根据客户的所在位置控制谁可以获得优惠活动,帮助您开展特定位置的促销活动。

{% hint style="info" %}
如果您已设置 Shopify Markets 并希望将优惠活动应用于这些市场,请改用[市场子条件](#id-5.-markets)。
{% endhint %}

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

▶ **向特定位置展示优惠活动:**<br>

1. *选择位置:* 选择一个或多个应应用该优惠活动的国家(例如:法国)。
2. *BOGOS 将检查* **客户的 IP 地址**,仅当其所在国家与选定位置匹配时才应用该优惠活动。

**▶ 将特定位置排除在优惠活动之外:**

1. *选择位置:* 选择您想要排除的国家(例如:法国)。
2. *将客户从选定位置排除:* 阻止来自选定位置的客户获得该优惠活动。该优惠活动将改为应用于所有其他位置的客户。

### 5. 市场

此子条件与您的 Shopify Markets 设置同步,以决定哪些客户可以获得优惠活动。

{% hint style="info" %}
必须先在 Shopify 后台设置 Shopify Markets,然后才能在 BOGOS 中使用。
{% endhint %}

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

**▶ 向特定市场展示优惠活动:**

1. *选择市场:* 选择一个或多个 Shopify Markets(例如:欧洲、亚洲)。

**▶ 将特定市场排除在优惠活动之外:**

1. *选择市场:* 选择您想要排除的市场(例如:欧洲、亚洲)。
2. *将客户从选定市场排除:* 启用此选项以阻止来自选定市场的客户获得该优惠活动。该优惠活动将改为应用于所有其他市场的客户。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.bogos.io/cn/detailed-guide/detailed-doc/how-to-add-bogos-sub-conditions-to-bundle-upsell-discount.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
