Liquid, JavaScript, themes, sales channels
I'm losing my mind.
I have a store that has a default currency of AUD with the ability to switch using Shopify Multi Currency that is built into the Streamline theme and select USD and CAD. Expected behavior of the Shopify Multi Currency I would assume would be to have AUD, USD or CAD displayed after the price once the option to display currency with codes was enabled.
I spoke to Shopify support and they told me that this isn't possible and I would need a custom developer to add this feature in to display the currency code after the prices.
Is there anyway to get currency codes to show up after the prices using the inbuild Shopify Multi currency? Cheers
Solved! Go to the solution
This is an accepted solution.
Hey Mate.
@ThomasF In your product-template change {{ current_variant.price | money }} to {{ current_variant.price | money_with_currency }}
Likewise for your collection as well. Depending on your theme the liquid file will be different.
If you need a hand send me through a DM and I can help you out.
This is an accepted solution.
Hi Everyone! I just thought this could help merchants who are using the Debut theme.
Just click online store > themes > actions > edit code and instead of product-template.liquid, look for product-price.liquid. In there, you will see a code that says :
{%- assign money_price = price | money -%}
It was around line 12 in my case. All you have to do is to change it to this:
{%- assign money_price = price | money_with_currency -%}
For Brooklyn theme users, the code would be in the product-template.liquid file. It's around line 244 in my case.
Just change it from
| money
To
| money_with_currency
I hope that helps!
To learn more visit the Shopify Help Center or the Community Blog.
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024