Override View Output for Shopping Cart
What worked for me was:
verride the 'shopping cart block' view with custom template
    block--cart-blockNameInClonedView.tpl.php(referece themer-info for
    exact name). 

Populate the 'vars' array with total number of items and total amount of a shopping cart in block preprocessor function as following:

function THEME_preprocess_block(&amp;$vars, $hook){
    if ($vars['block']-&gt;region == 'cart_in_header') {
            if ($order = commerce_cart_order_load($vars['user']-&gt;uid)) {
                $wrapper = entity_metadata_wrapper('commerce_order', $order);
                $bazar_cart = array();
                $bazar_cart['total-qty'] = commerce_line_items_quantity($wrapper-&gt;commerce_line_items, commerce_product_line_item_types());
                $price_raw= commerce_line_items_total($wrapper-&gt;commerce_line_items, commerce_product_line_item_types())['amount'];
                $bazar_cart['total-price'] = substr($price_raw,0,-2).'.'.substr($price_raw,-2);

                $vars['bazar_cart'] = $bazar_cart;
            }
      }
}


In custom block template file, the variable '$bazar_cart' is available to plug the values(total items and total amount of cart) as you wish in the html structure