FROM CACHE - en_header

ORDER PRINTER: liquid variable for cost per item?

JohnnyBender
Tourist
10 0 1

ORDER PRINTER: liquid variable for cost per item?

How can I show this variable?

Replies 5 (5)
JohnnyBender
Tourist
10 0 1

[bump] nobody?

Chris010101
Tourist
7 0 1

did you ever figure this out?

Amanda303
New Member
2 0 0

Hi @JohnnyBender !

 

Check out this link: https://shopify.dev/api/admin-graphql/2021-10/objects/InventoryItem#fields

 

Unit cost associated with the inventory item:    InventoryItem.unitCost

 

I hope this is what you are looking for. 

 

-Amanda

manjitpardesi
Tourist
10 0 1

{{ line_item.price | money }} gives the price of one item

Chris010101
Tourist
7 0 1

Yes but we're looking for cost price. Not just price.