• A small issue when adding the WooCommerce Cart Widget.

    add_filter( 'sidebars_widgets', array( __CLASS__, '_sidebars_widgets' ) );
    
    function _sidebars_widgets( $widgets ) {
    	if ( is_cart() ) {
    		foreach ( $widgets as $s_key => $sidebars ) {
    			foreach ( $sidebars as $w_key => $widget ) {
    				if ( 0 === strpos( $widget, 'woocommerce_widget_cart' ) ) {
    					unset( $widgets[ $s_key ][ $w_key ] );
    				}
    			}
    		}
    	}
    	return $widgets;
    }

    The Code above solved the issue for me.

    The support (premium version) is great. First reply within 10 minutes, solved the issue within 1 hour. ??

  • The topic ‘Great Support’ is closed to new replies.