How to Display the Total Numbers of Items in a Cart in an Email?

  • 25 February 2021
  • 2 replies

Badge +2

Hello everyone,
I would like to know the code snippet that displays the total number of items in the cart.
For example I would like to make a sentence "There are 3 items in your cart". 
I would like this number to be variable depending on the number of items in the cart.
Thank you in advance for your help.


Best answer by Bobi N. 25 February 2021, 09:58

View original

2 replies

Badge +2

Thank you very much for your reactivity.

Userlevel 7
Badge +42

@Luc messmer 

Try this code {{ event|lookup:'Item Count' }} it should do exactly what you need..