Articles on: General Settings

Customize your product search result

Previously, your customers might not able to search via product collections, brand, tag etc as it will show "No result found"

This article will guide you on how to personalize your product search result. Now, you can customize your product search value such as Product Description, Collections, Brand name, Tag name and Vendors.

📌 Kindly take note :

Above all code editing, you will need to re-edit the code again if you switch to a new theme template
We do not allow to change or edit the code for the checkout page (which include shipping & payment method) due to security reasons

Step 1: Go to EasyStore Admin > Channels > Online Store > Edit source > search-bar.liquid under snippets

Step 2 : Look for <span class="input-group-btn"> around line 30 - 40 and add the code below for EVERY sections that starts with <input type="search"

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






Step 3: Go to header.liquid look for <input type='hidden' name="options [prefix]" value="last"> insert code below as well

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





Step 4 : Save and you're done!

💡 Tips: You can add the value that you prefer & remove the ones that you don't need
Brands = Brand value
Collections = Product Collections value
Tags = Product Tags value
Vendor = Product Vendor
Product Description = Product Description value



Now you can search products with your desired result! 😍

Related articles:
Add product with variants
Show recommended products
Apply same product description to all products

Updated on: 20/06/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!