Hide sub-category product count on category page Woocommerce

For hide sub-category product count on Category (product archive) page woocommerce, please add below snippet into your theme/child theme’s functions.php file.


/**
* Hide category product count in product archives
*/
add_filter( 'woocommerce_subcategory_count_html', '__return_false' );

Leave a Reply

Your email address will not be published. Required fields are marked *