Why won't currency ISO show? Please help!

dilwyn84
New Member
8 0 0

I have installed shopify's own Geolocation app and want to show the currency code after the price. I've set this in the shopify settings under 'Store Currency' to be

'<span class=money>$ {{amount}} {{ currency.iso_code }}</span>' which appears to be the correct liquid according to this link.


Image 2020-08-18 at 3.21.38 pm.png

However it just shoes as that liquid snippet and does not render the currency code.

Does anyone know why this is and the correct solution? Thanks

 

0 Likes
danfarrell90
New Member
2 0 0

Looks like you might need to wrap it in a for loop to find all the currencies you have

{% for currency in shop.enabled_currencies %}{{ currency.iso_code }}{% endfor %}

0 Likes