show cart in header woocommerce code code example Example: cart icon in woocommerce <?php echo do_shortcode("[woo_cart_but]"); ?>