Category widget item count includes hidden items
-
When I use the WooCommerce product categories widget I have found that the count of items shown against each category includes “hidden” products.
This is specifically obvious when I have a category that only has one product and that product is hidden. I have told the widget to hide empty categories, but it is treating this category as having products, so it is appearing in the category list with a (1) beside it. But then when you click on that category it says there are no products. (Which is to be expected).
Expected behaviour:
The product categories widget should not include hidden products in the count. A flow on from this will mean that the widget should not show categories that only have hidden products in it.
- The topic ‘Category widget item count includes hidden items’ is closed to new replies.