Hello everyone,
Does anyone know how to add currency with price based on our Shopify store dynamically?
For example, previously we are using this:
{% currency_format item.line_price|floatformat:2 %} {% currency_format item.compare_at_price|floatformat:2 %}
to display this:
$1,577.00 $1,829.00
However, above price become wrong when our Shopify Store currency is Malaysia (MYR) so the display should become become:
MYR (Malaysia)
MYR 1,577.00 MYR 1,829.00
SGD (Singapore)
$438.00 $508.00
Based on the Klaviyo tag for dynamic currency, it should using below
{{ event.extra.presentment_currency|default:'' }}
or
{{ event.extra.presentment_currency }}
But when I use above tag, it become error.
{% event.extra.presentment_currency item.line_price|floatformat:2 %} {% event.extra.presentment_currency item.compare_at_price|floatformat:2 %}
Please your advise.
Thank you