# 目录和产品

Sesami 使用 Shopify 产品来表示可预订服务。了解产品和库存如何与 Sesami 协同工作，有助于避免常见问题。

## 设置预订产品

要创建一个可与 Sesami 配合使用的产品：

1. 前往 **Shopify > 产品 > 添加产品**
2. 像平常一样添加名称、描述和图片
3. 在 **变体**下，添加一个名为 **时长**
   * 该选项名称必须完全为 `时长` （区分大小写，末尾不能有空格）
   * 按有效格式添加值： `30`, `45 分钟`, `90 分钟`, `3 小时`，或 `1 小时`
4. 在 **库存**下，取消勾选 **跟踪数量**
5. 在 **配送**下，取消勾选 **这是实物商品**
6. **保存**

{% hint style="warning" %}
**必须关闭跟踪数量。** 如果启用了库存跟踪，客户最终会看到“售罄”，而不是预订日历。
{% endhint %}

{% hint style="info" %}
**必须关闭配送** 适用于仅提供服务的产品。否则，客户在结账时会被要求提供配送信息。
{% endhint %}

## 时长变体格式

Sesami 会读取“时长”变体来确定时间段长度。可接受的格式：

| 格式      | 示例               |
| ------- | ---------------- |
| 分钟（仅数字） | `30`             |
| 带单位的分钟  | `45 分钟`, `90 分钟` |
| 小时      | `3 小时`, `1 小时`   |
| 与文本组合   | `45 分钟：快速服务`     |

时间范围必须在同一天内（00:00 到 24:00）。

## 库存与“售罄”

如果你的预订产品显示“售罄”而不是日历：

1. 前往 **Shopify > 产品 > \[你的产品]**
2. 对每个变体，取消勾选 **跟踪数量**
3. **保存**

Sesami 通过其自己的排期系统管理可用性——它不使用 Shopify 的库存数量。

## 包含实物商品的产品

如果你销售的产品既包含预订又包含实物商品（例如，带咨询服务的礼盒），请注意：

* 时长变体会告诉 Sesami 这是一个可预订产品
* 你仍然可以设置价格并使用 Shopify 结账
* 对于实物履约，请根据需要在产品上管理配送设置

## 相关

* [订单](/zh-cn/apps-integrations/shopify/orders.md) —— Sesami 预订如何显示为 Shopify 订单
* [无可用性](/zh-cn/kai-shi-shi-yong/onboarding/troubleshooting/no-availability.md) —— 预订时段缺失的故障排查


---

# 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://help.sesami.co/zh-cn/apps-integrations/shopify/catalog-and-products.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.
