> For the complete documentation index, see [llms.txt](https://www.boxhero.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.boxhero.io/docs/documentation/zh/zhu-yao-gong-neng/purchase-and-sales/bundles.md).

# 组合包

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