Display SKU and variant metafield on line item using Checkout UI extension

Shopify Partner
15 0 4



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.






Replies 3 (3)

Shopify Staff
1829 270 410

Hey @NMaskey 


These fields are currently unavailable. I've passed along your feedback!

Scott | Developer Advocate @ Shopify 

Shopify Partner
15 0 4

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.

Shopify Partner
1 0 1

I wanna know the solution too thanks for asking