PHP Magento Tips

Difference Between Cart getItemsCount() and getSummaryCount() in Magento

Rate this posting:
{[['']]}

Mage::helper('checkout/cart')->getItemsCount()

  • This will return shopping cart items count means how many sku add to shopping cart.(suppose you add 5 qty in sku 1 then it will return only 1 single item).

Mage::helper('checkout/cart')->getSummaryCount()
  • This will return shopping cart items summary (suppose you add sku1 6 qty and sku2 3 qty = total 9 qty return)
Tag : Magento
0 Comments On "Difference Between Cart getItemsCount() and getSummaryCount() in Magento"

Back To Top