Skip to main content

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

Hi there @nyoman360and5

 

Welcome to the Community! Happy to help! 

 

This formula isn’t working as Klaviyo doesn’t support multi-currency stores at this time so dynamically calling a currency isn’t possible. While support for multi-currency stores is something that has been previously requested, we do not have a timeline on when/if this will be able to be implemented within Klaviyo for Shopify stores. 

 

In the meantime I do have a workaround! You can utilize conditional splits in your flow using the logic of country of language of the customer to find what currency should be sent and establish your currency at a template level. 

 

Hope this helps!

-Taylor 

 


Reply