size
Returns the number of items in an array or the number of characters in a string.
Basic Usage
You have {{ cart.items | size }} items in your cart.
Returns the number of items in an array or the number of characters in a string.
You have {{ cart.items | size }} items in your cart.