Solved

price score

  • 12 April 2023
  • 1 reply
  • 52 views

Badge +1
How can I eliminate the decimals that appear in the prices of the products of the dynamic catalogs that I use in the imails
icon

Best answer by Spark Bridge Digital LLC 12 April 2023, 14:15

View original

1 reply

Userlevel 6
Badge +30

Hey there!

You can add onto your price variable, a variable filter, such as |floatformat:0 will limit the number of decimal points the variable will show to zero! So it’ll look something like: {{ your_variable|floatformat:0 }}

Here is the Klaviyo Variable Glossary that helps break it down further as well as other helpful ones to use in your emails: https://help.klaviyo.com/hc/en-us/articles/360058466052-Glossary-of-Variable-Filters

Reply