Skip Navigation

[Resolved] Nesting taxonomies – how to connect select boxes

This support ticket is created 6 years, 1 month 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)

This topic contains 3 replies, has 2 voices.

Last updated by Christian Cox 6 years, 1 month ago.

Assisted by: Christian Cox.

Author
Posts
#1120967

Hi:
I'm wanting to create a dropdown list showing separate taxonomies Car Makes, Car Models, Car Color. When a term in Car Makes taxonomy is selected, then that then will show only the relevant Car Models taxonomy terms for the selected Car Model term in the dropdown select box. When the relevant Car Make taxonomy is selected, then the Car Color select box will show only the colors relevant to that particular Car Model.
I asked this question here:
https://toolset.com/forums/topic/nested-taxonomies-with-dropdowns/
But I am stumped as to how to get only the relevant terms in Car Models to show for the selected Car Make taxonomy (and then the relevant terms in Car Colors to show for the selected Car Models taxonomy).

Is there something missing from the directions in the above link?
How do I hook up the terms in Car Makes to show only the relevant Car Models associated with a Car Make? Does php code need to be written per this question:
https://toolset.com/forums/topic/nested-taxonomies-setup-newbie-question/ ?

Thank you.

#1120997

But I am stumped as to how to get only the relevant terms in Car Models to show for the selected Car Make taxonomy (and then the relevant terms in Car Colors to show for the selected Car Models taxonomy).
There is a setting in the View editor screen that turns this behavior on, and it's automatic. Edit the View and scroll to the Search and Pagination panel. If you cannot see this panel, scroll to the top right corner of the admin screen and click "Screen Options". You can enable Search and Pagination here. In Search and Pagination, select the option "Let me choose individual settings manually". Then select the option "Show only available options for each input". When you combine this option with AJAX search updates, the taxonomy input fields will automatically update to only show options that will produce results.

#1126539

Hi Christian:
I'm sorry, I was very unexpectedly busy this past week and was not able to give the needed time and attention to working on resolving this issue so I did not respond in a timely manner.
I'm hoping to work on it this weekend and I hope that I can resume this thread. Is there any way to "exhume" it so that I can respond directly to it, for the continuity?
Thank you.

#1127111

Sure, I have reopened the thread. Let's continue.