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

Conditional logic of filtering

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.

Hello, I want the filter should work with the"OR" condition while filtering my data but currently, it is working with the"AND"  condition.

For example, If I search any element via the search bar of the plugin and then click any checkbox to filter the data then it'll show no records found but when I erase the content from the search bar than again If I'll check the same checkbox than it'll show results. So As long as I understood this process this is working with the"AND" conditional logic. Is there any way by which I can set the"OR" condition for search and filter so that it will show results for all the parameters?

Hello

Between different filters the comparison will always be “AND” otherwise you need code customization

Please drop me exact link to the issue

 

Please check this link for testing the filteration and search

Link: https://ehob.vks.group/resources/

Try  in  file -  wp-content\plugins\woocommerce-products-filter\ext\by_text\index.php  - change  this  code - https://c2n.me/4k26Sxe.png - to - https://share.pluginus.net/image/i20231226122729.png

Thanks for your help. I'll test this and let you know in some time.

Hello

Ok!  Welcome;)

Hello I've change the code but this is not working properly. Like still it is not showing results on the basis of OR condition.

 

Hello

describe in more detail what search I should do to check this