Include WooCommerce Product Child Categories

Forums › Forums › Search & Filter Pro › Include WooCommerce Product Child Categories

Viewing 6 posts – 1 through 6 (of 6 total)
  • Anonymous
    #236613

    I’ve searched through the forum and I saw that you advice people on using custom post types on blogs and in general to not use child categories / taxonomies.

    BUT my client has an ecommerce store and they want to use Search & Filter to filter products.

    It works nicely, except that when browsing through the parent category, the child category products aren’t visible…

    Is there a way to “make them visible” without flattening the product category tree?

    Trevor
    #236632

    In the form field setting, do you have these settings enabled:

    Hierarchical
    Include Children in Parents

    Anonymous
    #236643

    Where can I find those settings? I can’t seem to locate them in the settings of my search & filter settings…

    Trevor
    #236651

    Go to the Form UI at the bottom of the form, and open the settings for the taxonomy field, like this (from one of my test sites):

    https://www.screencast.com/t/vMs9tGZCbg

    Anonymous
    #236706

    Oh, I didn’t have a taxonomy / category field… I only have sort order and post meta (available product sizes), since it’s a product category page not a search page…

    However I was able to fix the problem with your help. I added the taxonomy field and then using CSS hide it from the users.

    Trevor
    #236803

    Thanks for getting back to me. I will close this thread for now.

Viewing 6 posts – 1 through 6 (of 6 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.