cart
The cart object has the following attributes:
cart.item_count
Returns the number of items inside the cart.
{{ cart.item_count }} cart items.
2 cart items.
cart.errors
Return the array of cart errors.
{% for error in cart.errors %}
Error : {{ error }}
{% endfor %}
Error : Seller has not set any payment gateway.
Error : Seller has not set any shipping method.
cart.total_price
Returns the total price of all of the items in the cart.
cart.currency
Return the currency of cart.
cart.items
Returns all of the line items in the cart. More info ›