We recently built a site using Builder.io and Hydrogen and one of the product filters (within Search & Discovery) is a true/false metafield on the product variant. When the API is sending the options, it’s sending duplicate falses and we can’t figure out why. How can we adjust this? I’m not seeing anything in the product data that would suggest it’s entered twice so how is it splitting it off like that? You can’t even choose the “(11)” in this example. It checks the “(73)” above it. Any ideas? Thank you -
If you look in the sub-request profiler (You can access it during local dev at http://localhost:3000/subrequest-profiler), for the SFAPI query that’s returning the filters, are you also getting 2 No
filters?
Thank you for responding! I had my dev take a look and he’s not seeing an SFAPI query. Any other ideas?
In the subrequest profiler, you should be able to see a query named CollectionDetails
. It should contain the data that you use to populate the filters.
I’ll let my dev know and report back. Thank you!
Could you also provide the screenshot from admin for the NDAA Compliant
option from the Search & Discovery app, showing that there is only 1 option labelled as No
Example:
If there is only 1 value with No
, then something is odd with your app setup. I suggest making a discussion thread at Shopify/storefront-api-feedback · Discussions · GitHub
Client set this up and one of these is from the search and discovery app and one is in the custom data section of the admin. Neither have value listed. Think that’s something?
This setup looks correct. Are there other filter labels that are named the same? I’ll need the shop url or shop id before I can get another team look further into this issue
I’ve tried looking in all the metafields and filters for duplicates and cannot find anything. Can I DM you with more info on the store?
Are you in the Shopify Partner Slack Community? You can DM me there
I’m not, but I can see if anyone on my team is.
It looks like our agency (we are a Shopify partner) needs to be invited. How would we go about that?
I sent you a direct message on this forum. Are you able to reply to it?
Hello - any updates on this one @wizardlyhel ? Thanks!