Plugin enables to hide category and parent category automatically, if there is no products.
Feature is enabled for categories when in plugin settings Hide Category If No Product is set to true.
Similar to manufacturer, it is also first checked, if category is published, and if it is, then system checks if category has products.
If there is no products in category or all products are unpublished and category does not have any subcategory, then category is hided.
If category is hided, and category's parent category also do not have any published product, and does not have any child category with published products, then system hides also parent category.
NB! If plugin is activated for categories, then plugin hides whole category tree branch if there is no published products.