Headless commerce and custom storefronts with Shopify APIs and SDKs
I'm trying to retrieve a metafield from a article using the below query:
{
blogByHandle(handle: "events") {
articleByHandle(handle: "event-item-2") {
metafield(namespace: "events", key: "date") {
value
}
}
}
}
I keep receiving an error that metafield doesn't exiti on type Article. Any thoughts?
Maybe you're not able to currently return Article metafields with the storefront api? It's not listed as a type here.
If true, that's a bit unfortunate. Does anyone have another way to grab this data?
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By