I have dynamic blocks in a flow email for transactional emails. However the product price only shows without tax, I want it to show with Tax. How can i change this? I cannot see this in the array.
only on the bottom, it shows as a total for all items.
Page 1 / 1
Hi @SK789,
Thanks for sharing this question with us.
Since WooCommerce does not send over the line item price with tax included in the event data for Placed Order, this will have to be added to your email in different lines. You can do something like this to display the line total + the tax amount:
This is because the Started Checkout event from WooCommerce contains TotalWithTax while the Placed Order event does not. Thus we have to use the separate line total + line tax as a substitute.
I hope that’s helpful.
ok - this makes it quite difficult to use Klaviyo then - as the events in WooCommerce own Order completion has product prices with tax
as the arrays you have provided only shows
total without tax
tax
third line should be with tax - would you know what that would be?
Is there any way Klaviyo can have these built for WooCommerce customers, as I can see for shopify this has been done. Would make it so much easier.
Hi,
Is it possible to sum up this too events in order to have the item price with tax ?
Item price: ${{ item.LineTotal|floatformat:2 }}
Item tax: ${{ item.LineTotalTax|floatformat:2 }}
Because the explanation above you give the cart total but I need the item total.
Thanks,
Regina Costa
Hi @reginacosta,
Thanks for your note.
You can try using the “add” tag:
|add
to build a statement to total the values- so something like: