Question

VAT on products

  • 31 December 2020
  • 1 reply
  • 46 views

Badge

Hi.

 

Can someone tell me how to show products with VAT inclusive prices? At the moment my emails for cart abandonment etc all show the price VAT free which is no good for the U.K.

 

Thank you

Simon


1 reply

Userlevel 4
Badge +3

Hi @SOEL, it looks like you were able to get this to work but just want to confirm. For those that are curious, here is some additional information below on how you can change the default abandoned cart block and something like price if you have that data being passed as part of the event. 

 

If you want to show the quantity and total price for each product, navigate back to the column where the product title is present.

Type in “Quantity:” in the text box. Next, navigate to the preview window to find the event variable -- for example, {{ event.extra.line_items.0.quantity }}.

image23.png

After exiting this window, paste the variable next to “Quantity,” replacing the collection and number with the alias.

For the total, use the line_price event variable (e.g., {{ event.extra.line_items.0.line_price }}), which will show the total price of a product based on the quantity. For instance, if you have a lipstick that costs $12, and someone has added two of them, the line price will show as $24.

image22.png 

As with the quantity, write in “Total:” and replace the collection with the alias. To display the currency, either add in the currency symbol before the brackets — for instance, ${{ item.line_price }} — or add % currency_format inside the brackets and before the event variable as well as another before the closing brackets — for example, {% currency_format item.line_price %}. Note that the currency format tag cannot be used with the float format tag.

image15.png

Reply