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

XOR filtering between categories and tags

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.

If i use radio buttons, then only one category is active at a given time. If i set tags to use radio buttons i get the same thing. But i can still have one category AND one tag active at the same time.

 

Is there a way in the settings or in the code i can change that? I want only taxonomy to active at any given time, even between category and tags.

Hello

Unfortunately the plugin does not have this feature.

You need code customization. we do not have a ready-made solution

You  need  in file -  \wp-content\plugins\woocommerce-products-filter\js\html_types\radio.js - add  code to check the current  radio name ( https://c2n.me/49hgBPK.png )   - if  name=='product_tag' - then  find  all  element  with  name="product_cat" and  set .attr("checked", false);

AND

if  name=='product_cat' - then  find  all  element  with  name="product_tag" and  set .attr("checked", false);