Answers for "magento 2 get number of cart items"

PHP
0

magento 2 get number of cart items

$helper = $this->helper(\Magento\Checkout\Helper\Cart::class);
echo $helper->getSummaryCount()
Posted by: Guest on September-23-2020

Code answers related to "magento 2 get number of cart items"

Browse Popular Code Answers by Language