Filtration in product page shopify
Right now filtration by tag is done by
what should i do so that filtration is done by
OR i.e suppose
A has tag
B has tag
C has tag
now if user select
y tags then all product should be shown having
any of both tag
any help is greatly appreciated
Its not possible in shopify. Shopify will only display the products that has both x and y tags. It will not combine results.
If you want to really achieve this, You need to use ajax. So when someone will select
mysite.com/collections/product_sub/x , Your ajax script will retrieve all products from that url.
When user will select another tag which makes the url like
mysite.com/collections/product_sub/x+y , ajax script will retrieve all products from
mysite.com/collections/product_sub/y and combine in product list ( make sure it remove duplicates if there any )
Didn't find the answer?
Our community is visited by hundreds of Shopify development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.