# 组合包

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

{% hint style="danger" %}
**注意**：组合包可以 *仅* 用于 **采购与销售**.
{% endhint %}

***

### 什么是组合包？

<mark style="color:蓝色;">`组合包`</mark> 可将多个商品组合在一起，并作为一个单一单位进行销售或采购。每个组合包都包含一组固定的组件商品及其指定数量。

**常见用途：**

* 包含多种产品的礼盒套装
* 入门套件或产品包
* 批发套装
* 组合优惠

***

### 如何访问组合包

导航至 <mark style="color:蓝色;">`数据中心`</mark> > <mark style="color:蓝色;">`组合包`</mark> 以创建和管理你的组合包。

<figure><img src="/files/9a93b0d1790d7db56409f82575acbbb33ebab636" alt="BoxHero - Bundles - Sample Bundle Details"><figcaption></figcaption></figure>

组合包可 *仅* 在 [**采购与销售**](/docs/documentation/zh/zhu-yao-gong-neng/purchase-and-sales.md):

* ✅ 采购订单
* ✅ 销售订单

组合包 **不能** 用于 [**库存交易**](/docs/documentation/zh/zhu-yao-gong-neng/tx.md)**:**

* ❌ 入库
* ❌ 出库
* ❌ 调拨库存
* ❌ 调整库存

{% hint style="info" %}
库存始终按 **单个** **商品** 层级进行跟踪。在订单中处理组合包时，BoxHero 会自动更新各个组件商品的库存数量。
{% endhint %}

***

### 添加组合包

1. 前往 <mark style="color:蓝色;">`数据中心`</mark> > <mark style="color:蓝色;">`组合包`</mark>.
2. 点击 <mark style="color:蓝色;">`+ 添加组合包`</mark>.
3. 输入组合包详情，包括名称和 SKU。
4. 关联组件商品并为每个商品设置数量。
5. 点击 <mark style="color:蓝色;">`保存`</mark>.

<figure><img src="/files/5f6c713cac7381d4a12b45d17a06452f5316ad3b" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
保存后，新组合包就可以作为一个单独的订单行项目添加到采购和销售订单中。
{% endhint %}

***

### 通过 Excel 添加组合包

如果你需要一次创建多个组合包，可以使用 Excel 文件上传。在右上角，点击 <mark style="color:蓝色;">`从 Excel 导入`</mark> 以下载模板。

<figure><img src="/files/999003dd1e0a903d0269b94777bcd680e2a4f113" alt=""><figcaption></figcaption></figure>

填写文件时：

* 手动输入组合包 SKU。它们 *不会* 自动生成。
* 每个组件商品占一行。
* 对于属于同一组合包的行，列 **A** 到 **F** 必须相同。
* 每行只应不同于组件商品 SKU 和数量。

<figure><img src="/files/174bf7f4aa97785acb29ad525d31b1e2027e6417" alt="BoxHero - Bundles - Sample Excel Template"><figcaption></figcaption></figure>

上传文件后，组合包及其商品关系将被创建。

***

### 在订单中使用组合包

组合包可以像普通商品一样添加到采购和销售订单中。当组合包售出时，其组件商品的库存数量会相应调整。

<figure><img src="/files/b866204dde81884db0c1727d3027ba59664a859b" alt="BoxHero - Bundles - New Sales Order"><figcaption></figcaption></figure>

如果销售订单部分发货，发货详情将显示组合包中包含的单个商品，而不是组合包本身。

<figure><img src="/files/6d6e9f3415ec7f7eee2b11357b47f0d48364f373" alt="BoxHero - Bundles - Sales Order - Stock Out Component Items"><figcaption></figcaption></figure>

在你团队的 <mark style="color:蓝色;">`交易`</mark> 历史记录中，组合包活动也会以商品级别显示。

<figure><img src="/files/737790597dbc05a0ac990afa83b7ccad4b20908a" alt="BoxHero - Bundles - Stock Out - Transaction History"><figcaption></figcaption></figure>


---

# 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://www.boxhero.io/docs/documentation/zh/zhu-yao-gong-neng/purchase-and-sales/bundles.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.
