Shopify / mobile-buy-sdk-android

Shopify’s Mobile Buy SDK makes it simple to sell physical products inside your mobile app. With a few lines of code, you can connect your app with the Shopify platform and let your users buy your products using their credit card.
MIT License
212 stars 136 forks source link

Product and ProductVariant metafields return null #672

Closed taranTR closed 3 years ago

taranTR commented 3 years ago

I try to get product and product variant's all metafields but returns null.I also try to get metafield by specific namespace and key but response is null again. I work on StoreFront api, android sdk version 6.0.0. Any Idea about this?

vixdug commented 3 years ago

@taranTR You may need to expose the metafields to the Storefront API. Here is a guide: https://shopify.dev/tutorials/retrieve-metafields-with-storefront-api

In the future these type of troubleshooting questions are best suited for the forums