• Hello,

    Is there a way to reduce the admin-ajax calls? I have already deactivated the the ajax setting under the general settings tab. But still consuming a lot…

    how to do?

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

    (@juaancmendez)

    Hello there,
    we hope you’re doing well!

    You can reduce them by adding the following code inside the functions.php file of your active child theme:

    add_filter( 'yith_wcwl_reload_on_found_variation', '__return_false' );

    Check it out and tell us if it works well for you, please.

    Best regards.

    Thread Starter djwilko12

    (@djwilko12)

    Thank you Juan!

    It seems that after adding this code, it stops adding admin-ajax requests on variable products, right?

    In which way it affects the wishlist feature adding this code?

    Plugin Support Pablo Pérez

    (@pperez001)

    Hi,

    This code removes the calls which are included in order to prevent cache system to affect the functionality of button adding a wrong product or to the incorrect list.

    If this is not affecting your site and it is creating a problem, in that case you can use this code to remove it.

    Let us know if you have any other question.

    Thread Starter djwilko12

    (@djwilko12)

    Hi Pablo

    I think the plugin′s core should include this code by default, right?

    Plugin Support Juan Coronel

    (@juaancmendez)

    Hello there,

    We will take your suggestion into account, thank you very much!

    Please let us know if we can do anything else for you.

    Best regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Admin ajax calls’ is closed to new replies.