Get Cart Items in Magento

Use the below code to get All cart items in Magento $cartHelper = Mage::helper('checkout/cart'); $items = $cartHelper->getCart()->getItems(); foreach ($items as $item) { echo $item->getItemId(); } Cheers! Amjath

Read More