Remove Result Count in WooCommerce

By default WooCommerce shows the result count, which is handy, but sometimes you’ll want to remove result count. Why would you want to remove it? A good example is a site with only a few products that’ll likely never change, making it overkill.

You can go digging around the WooCommerce template parts, but that’s a messy way of doing it. Here’s a quick snippet to remove the action, therefore no dogging around to in multiple files and folders!

//---- Remove result count
remove_action( 'woocommerce_before_shop_loop' , 'woocommerce_result_count', 20);

Inspirational Newsletter


Join the newsletter to get the best articles, tutorials and exclusive freebies every two weeks.

No spam. You can unsubscribe at any time.