How to remove the header cart in Storefront’s WooCommerce Theme

Just a little code snippet to remove Storefront’s header cart. Add this to you functions.php:

function tk_remove_header_cart() {
  remove_action( 'storefront_header', 'storefront_header_cart', 60 );
}
add_action( 'init', 'tk_remove_header_cart' );

 

Leave a Comment

Enable Notifications    OK No thanks