Count items in the cart

Tweet, share & co

tweet fb share g+ share

Tags


Description

How many items are in the cart? The code displays the answer.

Code

Mage::getSingleton('checkout/cart')->getSummaryQty();