modules/acm_cart/src/Cart.php
public function updateCartItemsCount() {
    $this->cartTotalCount = 0;
    foreach ($this->items() as $item) {
      $this->cartTotalCount += $item['qty'];
    }
  }
public function updateCartItemsCount() {
    $this->cartTotalCount = 0;
    foreach ($this->items() as $item) {
      $this->cartTotalCount += $item['qty'];
    }
  }
public function updateCartItemsCount ( ) { $ this -> cartTotalCount = 0 ; foreach ( $ this -> items ( ) as $ item ) { $ this -> cartTotalCount += $ item [ 'qty' ] ; } }
Calculate the cart items quantity.
Calculate the cart items quantity .