`variantBySelectedOptions` Not working as intended?
See original GitHub issueWe are running this Query:
{
node(id: "Z2lkOi8vc2hvcGlmeS9Qcm9kdWN0LzIyMzg2NjA2MTA1") {
... on Product{
title
handle
variantBySelectedOptions(selectedOptions: [{ name:"Region", value:"NA"}]) {
id
}
}
}
}
And getting null back on the variant, even though we know that a product exists, what are we doing wrong?
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Querying Selected Options in Storefront API
Hey, Im trying to use the storefront API to pull up a product variant using the variantBySelectedOptions field, but the documentation isn't ......
Read more >Shopify's `min/maxVariantPrice` filtering doesn't work as ...
I have a product whose variant price is 15, if I replace 10 with 15 in the above query I see that product...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
nothing is working … Maybe it’s time to re open the issue ?
We’ve resolved the issue with ordering as described above. Thank you for reporting it.