Skip to main content
Solved

price score

  • April 12, 2023
  • 1 reply
  • 75 views

Forum|alt.badge.img+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

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

View original
Did this topic or the replies in the thread help you find an answer to your question?

1 reply

Spark Bridge Digital LLC
Partner - Gold
Forum|alt.badge.img+33

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