Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi, I'm building a headless Shopify storefront using the Storefront API and ran into an issue.
When my product has **only one option** (like Size), the `variants` query works fine. But when I add **multiple options** (like Color + Size), the query fails or returns incomplete data.
Here is the GraphQL snippet I'm using:
The same query works on single-option products but causes issues on multi-option products.
Am I missing something in the setup or schema? Any suggestions would be appreciated!
Thanks!