Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hello all,
First post here.
Is it possible to GET TAGS etc. other custom data?
What is the best practice to assign other custom data to a product being sold through Storefront API?
I am trying to display additional data for my products other than title, description, and pricing etc.
Thank you for any help 😊
Is it possible to GET TAGS etc. other custom data?
Yes, you can see what's available here: https://shopify.dev/api/storefront/reference/products/product
Additional information can be stored/retrieved via metafields.
Thank you for the pointer - will check it out!
Follow up question:
I am fetching product data from products that I have added using the shopify admin page.
({PRODUCT_DOMAIN}.myshopify.com/admin)
- Where can I set metadata within this page?
From the link you suggested, metadata including:
- collections
- media
- metafields
etc. should be available, but these are the only fields returned that show any value:
I am fetching the product details using the js-buy-sdk.