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

Hide filter only in search result page, but will be visible on product listing page

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 am using this husky filter in woocommerce category listing and product listing page but in search result page i don't want husky filter to show up or act, but by default with product archive widget, filter is coming so i tried to hide the filter only for search result page in init plugin section in husky filter settings, but then from other pages also the filter getting removed which is very unexpected. can you pls tell me the solution?

Thanks.

Hello

You can add this code:

if(isset($_GET['s']) && $_GET['s']){

return;

}

in file - wp-content\plugins\woocommerce-products-filter\index.php - https://share.pluginus.net/image/i20241018121418.png

Hi,

Okay, will this code work if I add in custom code of wp code plugin? cause the site is multisite network site and dont have the access to edit the php code.

Thanks.

Hey,

Can I get the reply from my last query please?

Thank you

Hello

I showed the exact place where you need to insert this code. Unfortunately, it won't work any other way.

Hi,

Thank you for your reply. Appreciate it.

Thanks

Welcome;)