> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tayest.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 添加选车器

> 在店匠主题里打开 YMM Fitment Embed，并添加 YMM Vehicle Selector 选车框。

店匠主题扩展提供两个块。两个都建议开启，否则前台选车或下单车型可能不完整。

> [card] YMM Fitment Embed
>
> 全站脚本（YMM 全站嵌入）。下单车型采集依赖它。安装后默认关闭，需手动打开。

> [card] YMM Vehicle Selector
>
> 页面上的选车框（车型适配选择器）。加到支持应用区块（`@app`）的分区。

## 操作步骤

**1. 打开主题编辑器**

进入店匠 **主题编辑器**。

**2. 打开 Embed**

进入 **应用管理（App Management）**，打开 **YMM Fitment Embed**。若看不到，确认应用已安装且主题扩展已对当前店发布。

**3. 添加选车块**

在首页、集合页或商品页等支持应用区块的分区，添加 **YMM Vehicle Selector**。

**4. 发布主题**

保存并 **发布主题**。

## 顾客选车后发生什么

* 选车后跳到店铺 **搜索页**（带车型参数），由应用列出适配商品。
* **不需要**另建「全部商品」集合。店匠没有内置的 `/collections/all` 语义。建了也可能 404，或只含该集合商品。
* 价格、图片、库存走店匠前台接口展示。

> [!WARNING]
>
> 不要为了选车结果去建「全部商品」集合。结果页由应用在搜索页列出。

## 接下来

> [card] [样式与位置](https://docs.tayest.com/zh/customization.md)
>
> 调整选车块文案、宽度与颜色。

> [card] [验收选车过滤](https://docs.tayest.com/zh/verification.md)
>
> 按清单确认前台过滤生效。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.