Magento 2 Obtenez le nombre d'articles de panier
$helper = $this->helper(\Magento\Checkout\Helper\Cart::class);
echo $helper->getSummaryCount()
Funny Ferret
$helper = $this->helper(\Magento\Checkout\Helper\Cart::class);
echo $helper->getSummaryCount()