Skip to main content

Hi there,

The price doesn’t show on abandoned cart emails on my end. Any idea what might be the reason?

 

Hey @Sumaya!

On your preview screen, you should see a list of those variables where the price variable may be slightly different.

Maybe give this a try:

{% currency_format item.line_price|floatformat:2 %}

It uses item.line_price as the variable. 


Hey @Sumaya!

On your preview screen, you should see a list of those variables where the price variable may be slightly different.

Maybe give this a try:

{% currency_format item.line_price|floatformat:2 %}

It uses item.line_price as the variable. 

unfortunately didn’t work.


@Sumaya Are you able to share a screenshot of your variables that appear for price? That can help narrow it down on what one you need to use.


Of course, this is it, and thank you so much for your help:

 

{{ event.Name }}

Price: {% currency_format event.Price|floatformat:2 %}

 

 


@Sumaya 

Actually if you could click ‘Preview & Test’ in the top right and that’ll be your list of data variables.


 


@Sumaya 

Actually if you could click ‘Preview & Test’ in the top right and that’ll be your list of data variables.

Here you go :)


Hey @Sumaya,

Gotta applaud @Spark Bridge Digital LLC for doing an awesome job at highlighting a lot of the steps you would take to finding the correct event variable! 

On your preview page, I would suggest clicking on that “Price” field on the right side of your email preview. This will return and copy that specific event property’s value which you can reformat and use in your dynamic block. 

If you haven’t had a chance to yet, I would suggest taking a look at @Anna McCarthy’s Community post below. In it, she has a video tutorial highlighting how to use event data to build or customize/edit a dynamic table block.

You can also check out our How to build dynamic blocks in a flow email Help Center article on this topic as well!

David


Resolved, thank you all! :)


This is not the solution to be honest.

{{ event.Price|default:'' }} works

{% currency_format event.Price %} works

{% currency_format event.Price|floatformat:2 %} does not.

There is a bug with floatformat


How we can set up a compare price and discounted price:


Reply