Can you help me to narrow the product search results in my store?
Once I search for s product, there are too many products in the search results because the search function considers the description text of my products. Can you help me to change the code, that only the SKU, Product title, Tags and the Collection of the product is being considered while searching for a product? I want to achieve that the product description is excluded from being searched.
As I not experienced in editing the theme code, I would really appreciate an easy how to do it explanation.
In the attachment you can see my search.liquid files.
Thank you a lot for your support.
This article explains how search works and even how to modify code for the search results.
I could offer to fix it if you'd like, but it's good in the long run to learn this. It's very helpful when doing promotions and subtly showing promotions in the results.
Thanks a lot for sharing.
Unfortunately I this article I only found out how to limit the search results to either pages, articles or products. As I have a dropdown menu, to choose the section, I don‘t need this to change.
My problem is that I would like to limit my search results in the product section. So for example I want to buy a charger. Accordingly I search for the keyword ,,charger,,
Then my search results also show products which are not much related to a charger but they appear because I used the word ,,charger,, in the description of a different product. So now there are many products shown. Actual charger but also items which are not chargers but contain the word in the description.
Can you help me to only show items which contain the keyword I searched in either the product title, SKU, or the product tag?
Thanks a lot for the support.
If it is really complicated to edit the code, I would really appreciate it if you could name me the price for which you would fix it for me.