# 移除数量下拉菜单

如果您的服务在每个时间段内只允许一次预约，移除产品页面上的数量选择器有助于防止客户出错——例如为单次预约选择数量 2。

## 为什么要移除它

当客户为预约产品选择的数量超过 1 时，额外的数量可能会在您的日历中显示为不可用（因为每个时间只有一个时段）。移除选择器可确保每次加入购物车都等同于一次预约。

## 选项 1：通过主题设置隐藏

许多 Shopify 主题都内置了隐藏数量选择器的选项：

1. 前往 **Shopify > 在线商店 > 主题 > 自定义**
2. 进入您的产品页面模板
3. 查找 **数量** 开关或产品区块选项中的可见性设置
4. 将其禁用
5. **保存**

这是最简单的方法，无需进行任何代码更改。

## 选项 2：编辑主题文件

如果您的主题没有内置开关，您可以通过编辑主题代码来隐藏数量选择器：

1. 前往 **Shopify > 在线商店 > 主题 > 操作 > 编辑代码**
2. 找到产品模板文件（通常是 `sections/main-product.liquid` 或类似文件）
3. 定位数量输入/选择器的 HTML
4. 使用 CSS 将其隐藏（`display: none`）或删除该 HTML 区块
5. **保存**

{% hint style="warning" %}
编辑主题文件需要一定的编码知识。如果您不熟悉，请联系您的主题开发者，或聘请一位 [Shopify 专家](https://experts.shopify.com/).
{% endhint %}

## 相关

* [目录和产品](/zh-cn/apps-integrations/shopify/catalog-and-products.md) —— Sesami 的产品设置
* [手动安装](/zh-cn/apps-integrations/shopify/online-store/manual-install.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/online-store/i-want-to-remove-the-quantity-drop-down-menu.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.
