• Hey I add the shortcode to my product page, an admin-ajax.php call is made on each single product page load

    This causes an excessive amount of server load. Hopefully the admin-ajax can be set to only trigger when the button is toggled (not on page load)

    I believe it’s updating the fragments, it does display .on-first-page-load, yet continues for every single product page when I add the shortcode

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Juan Coronel

    (@juaancmendez)

    Hello there,
    we hope you’re doing well!

    Try disabling AJAX loading and also add the following code inside the functions.php file of your active theme to reduce AJAX calls on your site:

    add_filter( 'yith_wcwl_reload_on_found_variation', '__return_false' ); 

    Check it out and tell us any news, please.

    Best regards.

    Thread Starter smgdarien

    (@smgdarien)

    It didn’t work. I am adding a shortcode to the single product page

    It overloads the site and crashes it with thousands of admin-ajax.php requests

    Plugin Support Pablo Pérez

    (@pperez001)

    Hi,

    Could you send us the link to your site to gather more information? With the link to the shop page is fine.

    Let us know.

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