• Resolved amjulash

    (@amjulash)


    Hi, I am using your ajax add-to-cart pro on my website.

    We know that for every add-to-cart click woocommerce send a request to the server and saves the item info in the server for that user. So when using your plugin for every plus or minus click server have to process a request and add or remove the product in cart. But when this happens very quickly, its becomes a problem.

    For example, if someone in urgency and adds 15 item for a product very quickly with their mouse, then move to another product and add again 10 more item quickly server takes a massive request hit in just a few seconds.

    I can’t purchase a very costly server, but use somewhat good server which can handle 5000 visitors a day. But because of quick adding of some customers website becomes very slow or crash and most of time cart don’t get updated with that users input.

    Is there any solution for this? Maybe I was thinking it is possible to add a delay time for add to cart for about 200 to 500 milliseconds, so during that time however much an in-hurry customer keeps clicking, their items will get updated when they stop. The delay time is to wait and check if a custom click again, so they don’t make the server angry.

    What do you think? Please let me know your feedback and hope I made sense.

    Thanks
    Julash

Viewing 1 replies (of 1 total)
  • Plugin Author moiseh

    (@moiseh)

    Hello Sir,

    It’s supposetly that the plugin already have the delay feature when adding to cart using using minus/plus buttons. It’s configurable in the setting: “AJAX timeout in milliseconds to refresh the cart on change”

    It’s working at minicart and in the Cart page (/cart), if you referring some of these page and isn’t working, probably it’s a bug or theme conflict.

    Please contact using the premium plugin support if you still have this related issues.

    Regards

Viewing 1 replies (of 1 total)
  • The topic ‘Add to cart delay when products get added in urgency’ is closed to new replies.