price score

  • 12 April 2023
  • 1 reply

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

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

View original

1 reply

Userlevel 6
Badge +32

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: