WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Hide empty category if there are no child cateogries with products (1 post)

  1. davidjs
    Member
    Posted 4 months 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.

    https://wordpress.org/plugins/woocommerce/

Reply

You must log in to post.

About this Plugin

About this Topic