Return to Snippet

Revision: 31995
at September 16, 2010 23:40 by Groove


Initial Code
<?php

$cart = Mage::helper('checkout/cart')->getCart()->getItemsCount();
echo 'cart items count: ' . $cart;

?>

Initial URL


Initial Description


Initial Title
Magento: Get Item Number In Cart

Initial Tags
php, number, magento

Initial Language
PHP