• Hi,

    I have product filters setup as AJAX Product Filter widgets on the shop sidebar, using product attributes.

    They are showing up properly on the product page, but when I search they are not showing up on the search results page.

    Please advise

    Thank you

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Giuseppe Madaudo

    (@askmagic)

    Hi there,

    do you know if the search page use the same sidebar of the other page?

    Thread Starter adinae

    (@adinae)

    Yes, I confirmed that they are.

    Plugin Support crodriguez1991

    (@crodriguez1991)

    The search page is not a standard section of the theme. Many developers often customize this page in their theme making the use of the filters by the plugin Ajax Product Filter difficult. It can happen, for example, that the product count on this page will not be correct although the filter works properly. E.g. it shows there are 15 products but only 5 display. Sometimes, it could not even work at all. 

    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' );
    add_filter( 'yith_wcan_show_widget', '__return_true' );
    

    Please, try it and let me know.

    Have a good day.

    Thread Starter adinae

    (@adinae)

    I added the above code to my functions. The filters on all the pages disappeared. I commented out the second line (yith_wcan_show_widget), and the filters came back.

    Now I see the filters on the search results page, but it is not accurate information. Some of the filters do not bring up any product results.

    Please advise,

    Thank you!!

    Plugin Support crodriguez1991

    (@crodriguez1991)

    Hello there,

    I hope you’re doing well :D.

    I tried to reproduce the problem on my local installation and I cannot reproduce it.

    Maybe it’s a conflict with other plugin or your theme.

    I tested with only WooCommerce and YITH WooCommerce Ajax Product Filter.

    Also I enable Proteo as a theme. I see I can filter and then I can filter without any problem. See the following video.

    Please, try to disable all plugins and your theme and try again.

    Please, try it and let me know.

    Have a good day.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Product Filters not showing on Search Results page’ is closed to new replies.