Solved

Problems displaying dynamic elements feed of product in flows

  • 22 February 2023
  • 2 replies
  • 66 views

Badge +1

 

I'm not able to show price in my product in klavijo because I insert the price in the dinamic field in the email but still have 2 problems:

  1. the price doesn't appear
  2. the currency is in dollar but my shop is in euro...

 

Below you can find an example. Can you help me? If you provide me a code i can try to fix

or

 

icon

Best answer by alex.hong 22 February 2023, 20:31

View original

2 replies

Userlevel 7
Badge +58

Hi @saintstar ,

Thanks for sharing to the Community.

Oftentimes, using the currency_format filter with the |floatformat filter can cause issues. Since your event data passes the price in a nice format (2 places after the decimal and the $ prefix), you don't need to use all these formatting filters. You can just use the event variable exactly as it passes in the event data: {{ event.Price }}

Once you update the event variable with this suggestion, you should see the price coming through in the template.

Have you made the change to your Account level to reflect Euros as a the currency? If not, we have a help article that can guide you through how to make this edit.

You'll simply need to log into your Klaviyo account > hit the drop down under your account name and click Account > toggle to Contact Information and use the drop down to select Organization > then scroll down to change your currency, as illustrated below: 

?name=Screen+Shot+2021-11-12+at+5.10.08+PM.png

Badge +1

Thank you!!

I don't know why @alex.hong  but always display me an error when I try to update currency

Reply