> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.easystore.co/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 自定义产品搜索结果

在之前，您的客户是无法通过商品分类（product collection）、品牌（brand）、标签（label）等进行搜索，即使搜索也会显示“未找到结果”

本文章将指导您如何自定义您的商铺搜索结果。现在，您可以自定义商品搜索值，例如 **商品描述（Product Description）、分类（product collection）、品牌（brand）、标签标签（label）和 供应商 （vendors）。**

###### 📌 需要注意事项 :
* 首先是原始码编辑，如果切换到新的主题模板，您则需要再次重新编辑原始码
* 出于系统稳定性原因，我们不允许更改或编辑结帐页面的原始码（包括运输和付款方式）
---
**步骤一:** 可以到 [后台](https://admin.easystore.co) > 销售管道 > 品牌官网 > 编辑原始码 > **search-bar.liquid** （在 **snippets** 档案里）

**步骤二 :** 寻找**<span class="input-group-btn"> **大约在 30 - 40 行 **然后加入以下所代码到 **每个以  <input type="search"  开始的段落。**

``<input type='hidden' name='search_extras' value='product-description,brands,collections,tags,vendors'>``

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/untitled-design-81_mjixsn.jpg)

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/untitled-design-82_mzfai.jpg)

**步骤三:** 输入完成✅后记得要储存！

💡 **小提示:** 你可以加入你所需要的内容或是移除你所不需要的内容。
* **Brands** = 品牌
* **Collections** = 商品分类
* **Tags** = 商品标签 
* **Vendor** = 商品供应商
* **Product Description** = 商品描述

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_atckky.png)

现在您可以搜索根据您想要商品结果啦！ 😍

