How to access product metafield in checkout extension?

Solved

How to access product metafield in checkout extension?

Peak8848
Shopify Partner
3 0 0

How to access product metafield in checkout extension? I tried useAppMetafields or appMetafields from useApi but got no success?

Accepted Solution (1)

RMedia
Shopify Partner
80 7 10

This is an accepted solution.

Hi @Peak8848 
Shopify has an example on how to show product metafields in a checkout extension here. https://shopify.dev/docs/apps/build/checkout/display-custom-data?extension=react

Founder @ Advanced Free Shipping, create custom free shipping rules easily.
- Set Free-Shipping by 20 parameters; products, collections, customers + more
- No need for confusing Scripts or Carrier Calculated Shipping
- To learn more about 'Advanced Free Shipping' visit our Shopify app page here.

View solution in original post

Reply 1 (1)

RMedia
Shopify Partner
80 7 10

This is an accepted solution.

Hi @Peak8848 
Shopify has an example on how to show product metafields in a checkout extension here. https://shopify.dev/docs/apps/build/checkout/display-custom-data?extension=react

Founder @ Advanced Free Shipping, create custom free shipping rules easily.
- Set Free-Shipping by 20 parameters; products, collections, customers + more
- No need for confusing Scripts or Carrier Calculated Shipping
- To learn more about 'Advanced Free Shipping' visit our Shopify app page here.