modules/acm_cart/src/CartStorage.php
public function getCartSkus() {
    $items = $this->items();
    if (empty($items)) {
      return [];
    }

    $skus = [];
    foreach ($items as $item) {
      $skus[] = $item['sku'];
    }

    return $skus;
  }
public function getCartSkus() {
    $items = $this->items();
    if (empty($items)) {
      return [];
    }

    $skus = [];
    foreach ($items as $item) {
      $skus[] = $item['sku'];
    }

    return $skus;
  }
public function getCartSkus ( ) { $ items = $ this -> items ( ) ; if ( empty ( $ items ) ) { return [ ] ; } $ skus = [ ] ; foreach ( $ items as $ item ) { $ skus [ ] = $ item [ 'sku' ] ; } return $ skus ; }
Get skus of current cart items.

@return array
Items in the current cart.
Get skus of current cart items .