Do not allow variant options come up in search results

Do not allow variant options come up in search results

BenardC
Tourist
5 0 1

Hi, 

 

I sell tiles and I have different colours, different sizes, different tile finishes. So one tile will have many different variant options in the listing. 

 

I am having an issue though and that is when someone searches for a white tile, the green, yellow, black, charcoal tiles come up in the search results, because they all have a white option. The same problem comes with different sizes. In the screenshot below, you can see I selected the 600x1200 option but all these other tiles came up in the search results because they have a 600x1200 option.

 

image.png

 

How do I remove the variant options from populating the search results and cluttering it up? 

Replies 2 (2)

kirillatwally
Excursionist
37 1 5

Hi @BenardC ,

 

This happens because Shopify’s search indexes all product variants, not just the selected ones. Here are some ways to fix this:

  1. Add specific tags like “White Tile” or “600x1200” to each product and customize search to prioritize tags.

  2. If you have development resources, modify the search behavior in your theme’s code to prioritize specific variants in search results.

  3. If feasible, consider listing key variants (e.g., color-specific) as separate products to improve search relevance.

Kirill at Wally Reviews

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
BenardC
Tourist
5 0 1

Hi,

 

Thanks for your help, how do you do 2 and 3? I have the resources to do it but need a bit of guidance on how to request it.