How can i make the searchbar show result for variant aswell?
E.g i have a product called Table with variant 1. Oak tree 2. maple tree.
If i search for maple tree i want to see the product Table as a result.
Sorry for facing this issue, it's my pleasure to help us.
Welcome to the Shopify community!
and Thanks for your Good question.
Please share your site URL,
So I will check and provide a solution here.
Thanks for the details
sorry it's not simple code, but
It can be done by doing some code customization. Please take the help of a developer and hire Shopify Expert or me
Hyde here from Shopify.
When it comes to the search function, we have a useful guide on the subject here. As you can see, the search-function logic really only pulls in the product (and not its variants).
I hope that helps!
All the best, Hyde.