Skip Navigation

[Resolved] Create hierarchical taxonomy search filters

This thread is resolved. Here is a description of the problem and solution.

Problem: I would like to use separate select field filters for each hierarchical level of taxonomy terms in my search View.

Solution: It's not currently possible to set up this type of multi-select taxonomy filter. A workaround that uses Parent / Child post relationships can be seen on the Real Estate demo site at discover-wp.com.

Relevant Documentation: https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-control-set
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-control-item

This support ticket is created 7 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Author
Posts
#484376

mb

Hi Guys @onTheGo!

I hope, that I don't exceed the scope of your support. I would kindly ask you to help me to kickstart my development.

I am trying to build a parametric search/filtering system for WooCommerce products. This search or filter should not be like a typical search with dropdowns and so on. It should load products by different select boxes.

First it should load the results of a given product category (or taxononmy). Within this taxonomy the user should be able to choose between products for men and women (taxonomies) by a select box. Then the next group of selects, i.e. for colors, should be loaded by a view or within a slider. The colors themselves are taxonomies too. At the end, a view should show the single product page as a content template, so that the user can buy the product directly.

While parametric searches or filters generally lead to some products which match the parameters, this one should lead to a specific product providing a nice user experience. It's kind of a step by step filter.

I already read the docs, esp. about loading sub-taxonomies given by the parent taxonomy-filter. But I have problems to set things up correctly.

Basically I want to filter a given product category by some subfilters (1st gender, 2nd color and so on). The subfilters should be loaded via AJAX or within a Slider and lead in a step-by-step-manner to one specific product at the end.

I hope you got an idea of what I am trying to achieve.

So please give me some advice or refer to the corresponding docs, so that I am able to get this done.

Thank you very much in advance and kind regards!

mb

#484850

Hi mb,

First, sorry for the delay getting back to you. We were busier than usual today and this wait time is unusually long.

Dynamic hierarchical taxonomy searches like you are describing aren't currently built into Toolset, but they are on our developer's list of requested features. Unfortunately I do not have a timeframe for when they will be completed and available for you.

Currently, there is a workaround with parent/child relationships, see the live demo site:
hidden link
section "Search Houses", the drop-down menus "State" and "City"

To see the settings, you can setup your own demo site here:
http://discover-wp.com/register?site_type=713

More help:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-control-set
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-control-item

In order to achieve exactly what you have described, you would need to write custom code. We partner with independent contractors who would be able to give you professional help with this. Here is the list of our contractors:
https://toolset.com/consultant/

Please let me know if this anything else I can do to help.

This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.