how to build custom filter based on the product variants option like size and color

ErSanjay
Shopify Partner
293 20 42

how to build custom filter based on the product variants option like size and color.
I am using the shopify 2.0 theme.

 

need to build more custom filter.

Business Owner & Shopify app developer - shopify consting - Full Stack Sofware Engineer
Er Sanjay
Replies 2 (2)

SBD_
Shopify Staff
1829 269 407

Hey @ErSanjay 

 

The steps are documented here - https://shopify.dev/docs/themes/navigation-search/filtering/storefront-filtering

 

Let me know if you have any specific questions! 🙂

Scott | Developer Advocate @ Shopify 

ErSanjay
Shopify Partner
293 20 42

@SBD_ Thank you for your answers.

 

I want to create two separate filters on my storefront side. horizontal shows only the size option.

 

verticle filter show all the filter.


I am using the search and discovery app I can create only one filter.

I also reach out to the support team they do not help me a lot.

i see the code for that 

<form is="facets-form" {% if update_on_change %}update-on-change{% endif %} section-id="{{ section.id }}" method="GET" action="{{ request.path }}" class="facets">

 

 

 

Business Owner & Shopify app developer - shopify consting - Full Stack Sofware Engineer
Er Sanjay