Checkout subtotal in a given currency

pablovidal85
New Member
2 0 0

Hi,

I'm using the Storefront API to build a custom store with multi-currency support, and while I can fetch the products with a given currency via Product.variants.edges.node.presentmentPrices(presentmentCurrencies: <User Selected Currency>) I can't find a way of doing the same with Checkout.lineItemsSubtotalPrice to fetch the subtotal in the desired currency. Is there a way to accomplish this or I should calculate the subtotal myself?

Best regards,
Pablo

0 Likes