Retrieve amount of items in cart


/ Published in: PHP
Save to your folder(s)

How to retrieve the amount of items the user has into the cart


Copy this code and paste it in your HTML
  1. $Qty = $this->helper('checkout/cart')->getSummaryCount();

URL: http://www.odino.org/development/content-management-systems/magento-tutorial/retrieve-grand-total-and-items-quantity/

Report this snippet


Comments


You need to login to view comments.