Source: Coderssoft Blog

Coderssoft Blog Magento-Display Shopping Cart in Header

GET TOTAL ITEMS AND TOTAL PRICE IN SHOPPING CART IN MAGENTO - First Step : Go to app\design\frontend\base\default\template\page\html\header.phtml Add the following code inside the header-container div to display total number of items and price in header . <?php$count = $this->helper('checkout/cart')->getSummaryCount(); //get total price if($count==0){ echo $this->__('Items: %s',$count); } if($count==1){ echo $this->__(' Item: %s',$count); } if($count>1){ [...]

Read full article »
Est. Annual Revenue
$100K-5.0M
Est. Employees
25-100
CEO Avatar

CEO

Update CEO

CEO Approval Rating

- -/100