Is it possible to filter products by variant options using graphql ?

DSLR
New Member
19 0 0

Hello everyone,

I am trying to create a sidebar filter on the collection page but i wasn't able to filter products by options .

For example :  Filters products by Size and Color Options : 

I have found this Shopify documentation to filter products by tag : 
https://shopify.dev/tutorials/customize-theme-filter-collections-with-product-tags 

I am little bit confuse with this how we display only a particular color swatches product list on collections.

Please help me. How will I do that ? 

Thanks in advance !

 

 

0 Likes
collinsmbaka
Excursionist
33 1 9

Hello DSLR,

Hope you're doing fine?

I will recommend you check out ultimate filter and search app 

you will be able to filter by any option type available on your Shopify account.

Size, Color, Metafields, Variant Metafields ...

While also getting the full benefits of a smart filter.

It is totally worth it and I know you will find it useful.

 

 

Collins Mbaka | Support Specialist @ Ultimate Search and Filter

- Was my reply helpful? Click Like to let me know!
- Want to see how Ultimate Search and Filter can help grow your sales? Click here to try it out for free.
0 Likes