Liquid, JavaScript, themes, sales channels
I have a currency selector so the user can change between currencies, the problem is: From experience AUD / CAD / NZL users often get confused because products display prices as $XX and it's not clear whether it's canadian or usd.
So, how do I display the abbreviated currency code on the product price? CAD / USD etc
Hi Paul. Walter here from microDev (Shopify Partner).
This is a great point and one that Shopify has actually made really easy to resolve! What you want to do is format your prices using a money filter to add the currently 3 letter code to the product pricing. To do this, you need need to add the filter “ | money_with_currency” to your product price liquid tags in your ‘product-template.liquid” file (and anywhere else you may need it).
It should look like this when you done:
{{ product.price | money_with_currency }}
However, this could differ slightly depending on your theme.
If you would some support making this change to your theme or performing any other customisations, please feel free to send me an email at support@microdev.today and we will see how we can help you with these!
I'm using Warehouse Theme and I can show the USD currency on product page. please help!
Hello!
I am using theme Warehouse too. Did you succeed?
NO success so far. I want to show the USD next to my price on product page. Doesn't anyone know how?
I'm shocked this post is close to 3 years old, and nobody has posted a clear answer.
Start here:
https://help.shopify.com/en/manual/payments/currency-formatting
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024