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.

Our team at Themelocation is comprised of WordPress developers of high expertise

  • We can maintain, support and manage your single, or all your clients, website with dedication
  • Our skills are at your disposal.

Book a Call

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 *