cart->get_cart_contents_count();
// get cart total
$total = $woocommerce->cart->get_cart_total();
// get cart url
$cart_url = $woocommerce->cart->get_cart_url();
// if multiple products in cart
if($qty>1)
echo ''.$qty.' products | '.$total.'';
// if single product in cart
if($qty==1)
echo '1 product | '.$total.'';
?>