Help Wanted: get line item prices converted to whatever currency the checkout is

Solved
kcdave
New Member
2 1 0

Hello,

 

I am using the shopify-buy JS sdk for a store in which I want to support multiple currencies. The store's default price is in Euros.

 

I am able to convert the checkout's currency to different currencies (e.g USD), and the total price of the checkout comes as USD; however, the `lineItems` field in the checkout is always presented in Euros.  Is there anyway I am able to fetch my line items in USD price? or programmatically convert all my fetched sku/variant data to be USD.

 

Thanks for reading!

0 Likes
kcdave
New Member
2 1 0

This is an accepted solution.

I missed the presentmentPrice field in the lineItems object – this is the correct way to get converted values

0 Likes