PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Is there a way to unselect a Parent term when a child term is selected?

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi, I'm trying to figure out something and it starts to slowly drive me insane :)

Let's say we have a Taxonomy with Parent Terms and Child Terms. When I select the Parent term it shows all the products in it (even if no child terms are selected).
But if I select only one Child Term, it will display products from other Child terms because the Parent Term is still selected.

Example:

Custom Taxonomy
+ Parent Term
  - Child Term 1
  + Child Term 2
  - Child Term 3

This will show products from Child term 1, 2, and 3. And I want it to show only products from Child Term 2 without forcing the user to manually un-select the Parent Term.

Shortcode used is [woof autosubmit=1]

Is there a way to automatically un-select the Parent Term or exclude it from the query when one of the Child Terms is selected?

Any hooks or filters I can use to modify the behavior?

Any help would be much appreciated.

Kind regards,
Ivan

hello Ivan

Try  to  check  this  option - https://c2n.me/4eR58Ls.png