wp turned up online business directory wordpress website elementor expert
Code Snippets

Hide WooCommerce Cart When Empty

jQuery( document ).ready( function( $ ) { setInterval(function(){ if ($(“.widget_shopping_cart_content .woocommerce-mini-cart__empty-message”).length ) { $( ‘#user-cart-menu’ ).hide(); } else { $( ‘#user-cart-menu’ ).show(); } }, 10);