Can you link specific tags to product variants in online sunglasses shops?

Hello. I am working on a sunglasses shop, and I want to know if it is possible to relate an specific tag to a variant, so when a user selects an specific tag in the sidebar options (for example “black sunglasses”) the page shows the picture of the variants that are related to “black sunglasses”. Right now the page shows the products related to the tag but is confusing because it shows all the variants of the product, and if the first picture of the product is a purple sunglass, for example, the user feels the “black sunglasess” search didn’t work.

Hope I made myself understand, thanks!

Hi @SantiagoCorrea ,
This is actually quite an issue on most e-commerce stores (not only shopify).

Usually listing page (PLP) facets are concatenated from all the variants of the product, but main image doesn’t corelate with active facets in most cases. Especially shopify.

Since shopify only support tagging on product (answer to your question if variants can have tags is no) you can only add tags on product itself.
I am not sure if that’s actually possible to implement on shopify storefront (I am almost sure it should, but it requires deeper investigation) it may be possible to create color facet tags with the same name as variant option (usually multi color product will have color option) and identify variant while rendering PLP products once you know variant you potencially could display it’s image. But such flow would be quite difficult to manage, since you would need to make sure that color tags values corelate with product variants options.

In the end it’s just theoretical sulution which would require a bit of investigation if all the aspects of the flow can be implemented on shopify, but this is how I would try to solve this problem you are facing.

Hi Santiago,

Can you please tell me which theme are you using?

Right now, we are using sense theme. We have not created any type of tag.

We have a product “First Aid Box” and added variant Color - [Orange, Red, White, Blue].

When I type → Blue First Aid Box, the search bar show the correct variant i.e. Blue First Aid Box and upon clicking the result, it takes me to the Product First Aid Box, with Blue Variant Selected.

This functionality is by default, we have not changed anything.

Isn’t that what you were looking? or am I missing something?

Let me know if I am missing something. I will check and suggest you the solution.

Thanks.

Hi Sajat, thanks for your feedback :slightly_smiling_face:

Iam using the ella theme, I tried what you just told me and it works! when I type it in the search bar, but I would like to relate that to the sidebar options.

Cheers,