Skip to content
Discussion options

You must be logged in to vote

I ran into this same issue with the 2024.10 Storefront API. The null return is usually because the swatch data exists in the Metaobject but hasn't been 'activated' through the Shopify Standard Taxonomy yet.

Here is the fix in the Admin UI:

Assign a Specific Category: At the top of your Product page, you must select a category from the Shopify Taxonomy (e.g., Apparel > Clothing > Shirts). This is the 'handshake' that tells the API to look for Category Metafields.
Connect the Option Value: Scroll to Variants and click the 'Color' option. You’ll see a small dynamic source icon (link icon). You must connect this to the Category Metafield, not just a generic metaobject.
The Swatch field: Ensur…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@vitaliy-bobrov
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by vitaliy-bobrov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants