Home Forums WoodMart support forum 429 Too Many Requests – ADD TO CART PROBLEM

429 Too Many Requests – ADD TO CART PROBLEM

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #702436

    karlorubic.corp
    Participant

    Hello I have serious problem that is hurting my business.

    My problem is AJAX Add to cart and too many 429 requests. If i spamm add to cart it will fill it with admin ajax requests and it will not add items to the cart but instead show 429 and unlimitedly spinn it. If person is logged in this problem goes away but if person is guest there is so much that my namecheap hosting will take.
    Screenshot: https://prnt.sc/ZHSb2wxFD0a4

    Can you please go into my admin page and fix this issue for me? What I would like to achieve is users not getting this issue with many 439 requests, but if i disable AJAX in single product page then i will have caching issues with adding products to cart so AJAX looks like MUST here. Can you help me please?

    Basically i want to be able to spamm add to cart without getting too much 429 requests , disable cart fragments or whatever its needed. I want to lock add to cart button until item gets added to cart so non logged in users can add many items to cart without getting kicked from website.

    #702486

    Artem Temos
    Keymaster
    Xtemos team

    Hi,

    A 429 Too Many Requests on Add to cart for guests usually means your server is rate-limiting admin-ajax.php or WooCommerce wc-ajax endpoints. Since it doesn’t happen for logged-in users, that points to host-level limits or caching/security rules applied only to guests. It is not something that can be fixed in the theme’s configuration.

    Ask Namecheap to remove or raise rate limits for requests to admin-ajax.php and to WooCommerce wc-ajax endpoints (e.g. add_to_cart and get_refreshed_fragments) for guests. These should not be throttled or blocked; otherwise rapid add-to-cart clicks can trigger 429s.
    Ensure these endpoints are not cached or blocked by any security rules.

    Kind Regards

Viewing 2 posts - 1 through 2 (of 2 total)