How to remove/hide product count in WooCommerce Shop

WooCommerce by default Show product count on the shop page as well as the categories page. Alot of online store owners do not like to show the count and want to remove it.

We have tested a simple CSS code that will help you to remove product count.

Please add the below code at the very bottom of style.css file of your theme. Go to:  Appearance –> Editor –> Style.css

[codesyntax lang=”php”]

.woocommerce-result-count { 
    display: none;
}

[/codesyntax]

Before It looks like

After adding the code

That is it. Thanks

Waqas

I hope you enjoy reading this blog post. If you want my team to do WooCommerce Maintenance for you, click here.

2 thoughts on “How to remove/hide product count in WooCommerce Shop”

    1. Add this code at the bottom of your theme’s functions.php file to remove from category and other pages.

      remove_action(‘woocommerce_before_shop_loop’, ‘woocommerce_result_count’, 20);

Leave a Comment

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