A space to discuss online store customization, theme development, and Liquid templating.
Hi Community,
collections filters in Store 2.0 are great.
But is it possible to assign two values in one metafield filter, so the same product appears when filtering for value 1 and value 2?
Example: Filter "Hair type". Shampoo X has a filter value "dry hair" AND "curly hair"
Any chance you figured out a work-around for this? I'm having the same issue with the storefront filtering not being a valid substitute for group/tag filtering.
I've read other posts that a comma in the single-line metafield will store as a split ("dry hair, curly hair"), but seems like Shopify never finished the code in the API to make it work. I'm hardly an expert but there's gotta be a way to make this work how they say it should work.
my understanding is, that the comma separator is related to the URL parameter. so there is no way to implement this with built-in Shopify instruments for now. I had to use an app, which supports both, metafields and tags as filters.. Hopefully Shopify developers will resolve this soon!
Hi there, what app did you use ? thanks
Hi,
Wich app did you use please ?
there are quite many different apps. I have tested several and decided to go ahead with https://apps.shopify.com/product-filter-and-search
The most important feature is that it can deal with both, tags and metafields at the same time.
It can group different values of a filter option, which helps a lot on bigger catalogs.
They also can optionally replace product cards on collection pages. The idea is great, but the predefined templates could be improved. Also the quick shop popup style is not really finalised.
But the filter functionality is exactly what we have expected
It's currently possible. See this post's accepted answer: https://community.shopify.com/c/online-store-2-0/how-can-i-add-multiple-value-in-single-meta-field-f...