Cart widget still visible
It may happen that the cart widget is still visible when the “Disable Shop” is set to on.
This means that you need to pass the CSS class or the ID of the widget to the plugin through a filter like this:
if ( ! function_exists( 'my_ywctm_cart_widget_classes' ) ) {
add_filter( 'ywctm_cart_widget_classes', 'my_ywctm_cart_widget_classes' );
function my_ywctm_cart_widget_classes( $classes ) {
$classes[] = 'CSS CLASS OR ID HERE';
return $classes;
}
}
If you don’t know how to retrieve the CSS class or the ID of an item, you can take a look here