Cart Data
Cart
The {{cart}}
handlebar can be used to fetch information about the products present in a User's cart, or about the cart itself, such as currency used. It has the following syntax:
Displaying the total of a User's Cart in a Journey
If you wish to show the total price of items in a User's cart during a Journey, we can call the journey.steps handlebar to display the Cart's total:
This can be used to send a reciept after an order, or a reminder if the cart is abandoned.
Displaying products in a User's current cart
We can use the cart with Product Helper Functions to display details of the products in a User's Cart.
Last updated