Need to Collect SKU at Checkout

Solved
kamillerdesigns
New Member
1 0 0

Working on setting up some JS that needs to collect certain data at checkout. 

 

Those being email, invoice and SKU

 

So far I am able to collect email and invoice just fine but nothing is working out for SKU. Looking for suggestions. 

 

kamillerdesigns_0-1598381003668.png

kamillerdesigns_2-1598381060721.png

 

 

0 Likes
Propero
Shopify Partner
685 80 117

This is an accepted solution.

@kamillerdesigns 

Checkout object can access line_items first so something like {{ checkout.line_items[0].sku }} may work. 

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution

To hire: email us at shopify@propero.in

Skype : lokendra.panwar1
0 Likes