cartTotal
is a checkout variable that displays the current cart total.
Example
Let’s create a heading to display the total amount in our customer’s cart.
- Create a widget and add a Heading block.
- In the title, type in the checkout variable like so: {cartTotal}.
- The heading will dynamically show the total amount in the customer’s cart.