Hide empty category if there are no child cateogries with products (1 post)

  1. davidjs
    Posted 2 years ago #

    Many of my top level categories are empty but their child categories have products. I have the category widget set up to show hierarchy so you can drill down from the empty category into the child categories. The problem is some times there is a parent category with no products or sub categories yet the category still shows. I need to find a way to hide categories if they are empty and they contain no children with products.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic