FROM CACHE - en_header

ResourcePicker - retrieve metafields from selected products

kkedzierski
New Member
1 0 0

Hello everyone!

Description

I'm developing a Shopify App created with Shopify CLI (Node). In this app, I'm using Resource Picker to select products that later on will be added to Cart. However, my products have some metafields that I have to retrieve once I'm selecting them in the ResourcePicker component. The Shopify App will be used only on Shopify POS.

Question

Is it possible to somehow retrieve metafields from selected products using the ResourcePicker component or do I need to retrieve them by writing some additional function that will use GraphQL to get them?

 

 

Replies 0 (0)