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