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;


Before It looks like

After adding the code

That is it. Thanks

About the author

We provide WordPress & WooCommerce Support, Maintenance and Development Services.
2 Responses
    1. Editoral Staff

      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 Reply