How to remove the number of products in the WooCommerce category

When displaying categories on woocommerce store pages, by default, the number of products in this category is shown in brackets. To remove it, add it to functions.php your theme has the following code:

//removing the number of products

function remove_count(){
 return $html;

Updated: 18.04.2020

Did this article help you? Rate it!
(No Ratings Yet)

Leave a Reply

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


Send message