Site icon Experience Wordpress Developer Online – Design Develop and Maintenance Support

Hide Woocommerce Mini Shopping Cart Dropdown

You can see WooCommerce shopping cart icon on the top right corner in the header section. whenever you added few item in cart and hover over that mini shopping cart button on top right corner it display dropdown, where it display list of products item and also “view cart” and “checkout” button also there.

If you want to hide woocommerce mini shopping cart dropdown features on hover than here is solutions. Let’s have a look. Add below line of code in at the end of your theme’s functions.php file of your active child theme (or theme) and Save the file. so it will hide woocommerce mini shopping cart dropdown.

add_filter( 'woocommerce_widget_cart_is_hidden', '__return_true' );
Exit mobile version