Posted By

Groove on 09/16/10


Tagged

php number cart item magento


Versions (?)

Magento: Get Item Number In Cart


 / Published in: PHP
 

  1. <?php
  2.  
  3. $cart = Mage::helper('checkout/cart')->getCart()->getItemsCount();
  4. echo 'cart items count: ' . $cart;
  5.  
  6. ?>

Report this snippet  

You need to login to post a comment.