Is there a way to display {{ cart.total_price }}in default shop’s currency? I have a currency selector on website, which of course changes the currency in cart as well. But I have some function which works only with EUR currency, meaning any other currency would mess up the function. How could I display cart.total_price in the default (EUR) currency? I’ve seen some similar posts but 0 solutions to it. I am open to using a currency exchange rate as well, but not sure how to, as I don’t think Shopify supports it.
Topic summary
- Goal: Display the cart total ({{ cart.total_price }}) in the shop’s default currency (EUR) even when a currency selector changes the storefront currency.
- Context: A custom function depends on EUR, so showing totals in other currencies breaks the function.
- Technical note: {{ cart.total_price }} is a Shopify Liquid variable that reflects the currently selected currency, not necessarily the default currency.
- Constraints: The poster is open to using exchange rates, but believes Shopify does not support exposing rates or forcing cart totals in the default currency on the storefront.
- Status: No official solution has been observed; similar questions have appeared for about two years without a Shopify answer.
- Outcome: No resolution; key open question is whether there is a supported method to fetch the cart total in the default currency or reliably convert to EUR client-side.
Seems this is a question a lot of people are asking over the last 2 years, haven’t seen an answer from Shopify so far.
Pretty sad.