SketchBookkeeper
2/21/2019 - 6:10 PM

Hide Product Category Count in WooCommerce. If you want to hide product category count on the shop page, you only need to add this code to t

Hide Product Category Count in WooCommerce. If you want to hide product category count on the shop page, you only need to add this code to the bottom of your child theme’s functions.php file.

// Hide Product Category Count
add_filter( 'woocommerce_subcategory_count_html', 'prima_hide_subcategory_count' );
function prima_hide_subcategory_count() {
  /* empty - no count */
}