• My website has about 3000 products and a few hundred variations and I have about 5 taxonomies set up to filter. When I tested it, while using the plugin, the server’s CPU was often overloaded. I don’t know if this behavior is due to the filter plugin. If so, is there any way to solve this problem? Thank you.

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

    (@askmagic)

    Hi there,

    please try to add this code in functions.php of your theme

    add_fitler( 'yith_wcan_process_filters_intersection', '__return_false' );

    Let me know if this solve your issue.

    Thread Starter HomeStory Concept

    (@homestory)

    Thank you for your response. Does your code slow down the AJAX loading speed? Will adding indexes to MySQL tables help reduce AJAX loading time?

    Plugin Support Giuseppe Madaudo

    (@askmagic)

    Hi there,

    no, the code that I sent you don’t slow down the Ajax loading.

    Adding indexes help but not to much. You’ve already tried my solution?

    Thread Starter HomeStory Concept

    (@homestory)

    Thank you for the support, I have decided to upgrade my server, so the CPU overload issue no longer occurs. However, the AJAX load speed of the filter is still quite slow. I believe the reason is that the AJAX response includes the entire HTML of the page. Is there a way to make it respond with only the product section?

    ZoBabe

    (@zobabe)

    It looks like some themes do not contain the default selector used by the plugin. After months of tearing my hair out, I found this answer, and it solved my problem with CPU overload immediately.

    Bert O

    (@websitehelperberto)

    Hi,

    We are experiencing the same problem but the filter provided causes a 500 error.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.