Hi. How can we help?

Product Filter doesn't show the widget in the search page

The search page is not a standard section of the theme. Many developers customize this page in their theme making it difficult the use of the filters by the plugin ajax product filter.
For us it is not so easy to give support for all available issues and for that reason we have decided to disable the plugin on this page, this is why you do not see the filters in the search page.

However, although we do not support this features, and do not provide support in this regard, many users regularly use the filters on the search page. If you want to make a test then you just go and put this code in the functions.php file of your theme:

add_filter( 'yith_wcan_is_search', '__return_false' );

If doing a search combined with two or more words the filters disappear, please add this additional code:

add_filter( 'yith_wcan_unfiltered_args', 'yith_wcan_unfiltered_args' );

if( ! function_exists( 'yith_wcan_unfiltered_args' ) ){
function yith_wcan_unfiltered_args( $unfiltered_args ){
if( ! empty( $_GET['s'] ) ){
if( isset( $unfiltered_args['s'] ) ){
return $unfiltered_args;
Was this article helpful?
3 out of 9 found this helpful

Back to Help Center >

Powered by Zendesk