If you have custom fields with decimal values - e.g. for voucher values - and you want to use them in your email templates, you'll need to make a small edit to your merge tags to make sure those values display correctly.
Note: Custom fields show decimals based on the data passed to Ometria, which means that (depending on how they are passed) your values might only display one decimal place, so £2.50 becomes £2.5.
You'll need to make sure the custom field is passed as a decimal number, not a string and use this formula to make sure your value displays two decimal places:
{{ "£%.2f" % profile.properties.custom_field}}
Comments
0 comments
Article is closed for comments.