Replies: 1 comment
-
Hi @piotrpog The This has parameters for passing in a different currency to format that amount in. So as long as you have those currencies set up in {# base currency is USD #}
{% set amount = 123.99 %}
<pre>{{ dump(amount|commerceCurrency('GBP', true)) }}</pre>
<pre>{{ dump(amount|commerceCurrency('EUR', true)) }}</pre> Hope this helps, thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, this filter chooses formatting setting in control panel or current site locale. It would be nice if there was additional option passed to this filter that would allow overwrite it.
Beta Was this translation helpful? Give feedback.
All reactions