Skip to main content

Hi,

In some of my emails I’m using a dynamic table to pull some products from my site, however I want to drop the .00 from my pricing, please could someone help me do this?

When I enter the pricing for the table on the left hand side, I enter as below:

 

But in the email it shows as below:

 

Thanks

@kflo 

Try with floatformat:0

so your code should look something like this for example {{ event|lookup:'$value'|floatformat:0 }}

just make sure you add the |floatformat: 0 to whatever metric you are using


@Bobi N. 

Thanks, appreciate your response, please could you specify where I need to check/input the code?

I can only see the following when I click on the product table:

 

 


@kflo 

hm.. I thought you were asking about dynamic product blocks.. this one is static and in new editor. In old editor if you just remove .00 simply delete it it will also delete it from the block but in new editor this is not the case. It seems the block here is coded to show the .00 no matter what. 
I would suggest talking to support about this and see if they can help with some solution since I’m also don’t know how to edit in this case..


@Bobi N. 

Hi Bobi,

Thanks for your response, I’ll try and get in touch with Klaviyo support.


Reply