-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FILTER option based on a specific product metafield list #1481
Comments
Hello, |
Hi @bacounts, @2rvdev, this has been fixed now. The “Single Line Text” metafields can accept a list of values. Here is some documentation on that: https://docs.google.com/document/d/1z4w5ETifSwQ90VHBAfTwjtWITkFLpvL80RBYqT0YDSc/edit#heading=h.c85bw4abdn5t |
@melissaperreault this wasn't a theme issue, but a Shopify backend limitation. It's been resolved now. No change needs to be made to themes. |
@carolineschnapp - Y'all rock. Thank you for the update and your work on this pressing issue. Now a fix for #788 is needed, and the theme's major forward-facing filtering issues will be resolved. 🥇 |
While testing and researching #1456, I came across the following notation about comma-separated lists for a "filter based on a specific variant metafield".... https://shopify.dev/themes/navigation-search/filtering/storefront-filtering#variant-specific-filters.
While this notation is referring to the URL structure, the notion of filtering from a comma-separated metafield is worth exploring.
It seems counterintuitive not to have a better option that provides similar functionality to "tag groups," which were standard practice before storefront filtering. These tag groups allowed for more intuitive user filtering, especially when a merchant did not want to create a new variable option or all three options were already occupied within a product.
Possible solution:
The "single line of text" metafield allows a select menu option, which could be extended to a multi-select menu. Creating a new collapsible menu for every item like a "material" would be a nightmare and take up the 20 slots custom filtering slots available, especially on a store with a large catalog.
@tyleralsbury is looking into a core filtering issue I raised in #788; maybe this issue could be triaged alongside?!
Proof:
Comunity thread of people discussing this issue: https://community.shopify.com/c/technical-q-a/insert-a-table-in-product-description-area-with-metafields-amp/td-p/1413183 — issue also raised in #381 (comment)
A separated list metafield could come in handy in other places like the product page. By giving access to the storefront API, I could eventually create a block that lists each of these values as a clickable URL, creating a pho "tag list" that allows the buyer to click and return to a filtered collection for that value. << This is a rough example to prove scalability.
I have included some reference images below using my system.
Originally posted by @bacounts in #1456 (comment)
CC: @tyleralsbury @carolineschnapp
The text was updated successfully, but these errors were encountered: