rss
twitter
    Find out what I'm doing, Follow Me :)

Tuesday, January 19, 2010

Pin It

Widgets

How to get item/product counts in cart?

$_cart = Mage::getModel('checkout/cart');

echo"getItemsQty-" . ($_cart->getItemsQty());
echo"getItemsCount-" . ($_cart->getItemsCount());
echo"getSummaryQty-" . ($_cart->getSummaryQty());

Source : http://www.codefight.org/

No comments:

Post a Comment