I would love to have a built in setting where I can set the visibility of the widget based on WooCommerce Product categories. This way the widget will only load on pages where it is needed. I know this may be possible by using other plugins, however some are not supported any more, and some are not compatible. For example, I tried “Content Aware Sidebars”, and it didn’t work properly.
Filter Visibility per Category
harv shared this feature
October 7, 2019
September 17, 2021 @ 2:30 pm
I added this back in version 3.00 or so – you could always use the Widget Context plugin, but anyway now in Faster Woo Widgets we have the following two options:
Hide this filter until X,Y,Z taxonomies/attributes are selected – e.g. you could enter ‘product_cat’ here to hide other widgets (and speed up your shop by not running the code) until the product category is chosen.
Disable this filter until X,Y,Z selected – actually runs the code but then makes the filter transparent and not clickable until product_cat is selected (for example). A tooltip text box is also provided so you can inform the users what other filters they need to select in order to use this filter – e.g. “Please select a Car Make before choosing a Car Model.”