getCartItemCount method

int getCartItemCount()

Gets the total number of items in the shopping cart.

Implementation

int getCartItemCount() {
  return _cartBox.length;
}