I have several categories and subcategories that have no products in them. How do I configure the side box to hide the categories/subcategories that have no products.

Any help would be appreciated.