• Resolved unktehi

    (@unktehi)


    This may be a dumb question, but I’m unable to find the answer.

    Is there a way to hide the parent and higher-level-up categories? For example, if I navigate to T-Shirts on the demo site, is there a way to hide Clothing, Jacket, and Sweatshirt and ONLY show and open categories with Shirts and lower?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello

    This is possible if you go over to the category page. Example: https://clip2net.com/s/3EtvWZQ

    it needs to in plugin settings -> options – Hide empty terms set Yes (only premium version)
    OR
    Use shortcode [woof](for display filter) which attribute : taxonomies=product_cat:X Where X id your product category.
    For show or hide widgets on different pages – https://www.woocommerce-filter.com/how-to-show-or-hide-widget-only-on-selected-site-pages/

    Thread Starter unktehi

    (@unktehi)

    So, let me make sure I understand correctly.

    It is possible with the premium version of the plugin – you just need to hide empty term sets. However, will this effectively hide higher/parent categories when they aren’t truly empty?

    If I use the shortcode, it sounds like I’d have to create a different widget for each category/subcategory – am I understanding this correctly?

    Hello

    However, will this effectively hide higher/parent categories when they aren’t truly empty? – No, only categories where count is 0.

    If I use the shortcode, it sounds like I’d have to create a different widget for each category/subcategory – Yes. For each category, create a shortcode with the necessary attributes(taxonomies) and widgets

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Higher Level Categories’ is closed to new replies.