How to Hide Empty Terms in WooCommerce Filters
To hide taxonomy terms with zero products from the WooCommerce filter:
Question link: https://pluginus.net/support/topic/how-to-hide-empty-counts/
Into file functions.php add next code:
add_filter('woof_get_terms_args', function ($args) {
$args['hide_empty'] = true;
return $args;
});