A simple, powerful and independent e-commerce platform.
Sell anything with ease.

Hide product count on category display pages

When the category display pages have been set to show subcategories (rather than all products), the sub-category headings include the number of items in that category. This code hides that product count.

/**
 * Hide product count on category display pages
 */

add_filter('woocommerce_subcategory_count_html', '__return_false');
View Raw Code ID: 1025