Articles on: General Settings

Customize your product search result

After this guide, your customers will be able to search or find your products more easily via these search values below:
Product Description
Product Collections
Product Brands
Product Tags
Product Vendors

Above all code editing, you will need to re-edit the code again if you switch to a new theme template.

Changing or editing checkout page codes (including shipping & payment methods) are not recommended for security reasons.


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

Step 2 : Look for {{ 'general.search.submit' | t }} around line 10 - 30 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 you no longer needed:

Brands = Brand value
Collections = Product Collections value
Tags = Product Tags value
Vendor = Product Vendor
Product Description = Product Description value

Updated on: 27/11/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!