Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not showing correct currency #196

Open
ajbater opened this issue Jan 21, 2021 · 2 comments
Open

Not showing correct currency #196

ajbater opened this issue Jan 21, 2021 · 2 comments

Comments

@ajbater
Copy link

ajbater commented Jan 21, 2021

No matter whether I use rv-html="cart.total_price | money Currency.currentCurrency", rv-html="cart.total_price | money" or data-cart-render="total_price_money_with_currency" my prices are coming through with a $ instead of a £.

My HTML with currency for this store is £{{amount}} GBP and HTML without currency is £{{amount}}, and I have placed this {{ 'option_selection.js' | shopify_asset_url | script_tag }} in my theme.liquid The correct currency symbol is being displayed elsewhere on the site, so I think the issue must be with Cart, or have I missed something?

@Longseason808
Copy link

I'm having the same problem with rv-html="cart.total_price | money Currency.currentCurrency" in the cart. The currency symbol does not change with the price in the cart. It stays as $. @ajbater did you find a solution?

@Longseason808
Copy link

Longseason808 commented Apr 5, 2021

@ajbater I found a solution that uses the general settings for money formatting. Use "money_with_currency" instead of "money". rv-html="cart.total_price | money_with_currency Currency.currentCurrency
That switched the currency symbol for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants