For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
Hello,
What API do I use to display
1. SKU
2. Variant Metafield
on line items on checkout page using checkout UI extension?
I'm using "purchase.checkout.cart-line-item.render-after" extension target.
I see fields like id, title on CartLineItem API but not SKU/ variant metafields.
https://shopify.dev/docs/api/checkout-ui-extensions/2023-07/apis/cartlineitemapi
Hey @NMaskey
These fields are currently unavailable. I've passed along your feedback!
Scott | Developer Advocate @ Shopify
oh! We use variant metafield to display actual title of the product and is very essential for us to show this field and SKU on our checkout page line items sections. Right now, we have checkout.liquid customizations in place. We will not be able to migration to new checkout unless we have this feature.
Let me know when this will be possible. Thanks.
I wanna know the solution too thanks for asking