...
Code Block | ||||
---|---|---|---|---|
| ||||
<a href="$checkoutUrlHttps">My Cart ($cart.getItemCount() Items)</span></a> |
Here we use tags for both tag " $cart.getItemCount()" and " $cart.getSubTotal()" to pull both to pull the item count and the carts total and display that information to the customer.
If the customer does not have a an item in the cart (or checkout) started then the following is used:
...