Users still able to buy more than the amount set

Forums Maximum Products per User for WooCommerce Users still able to buy more than the amount set

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #178429
    Maicon Aloncio
    Participant

    I set up the plugin because today I had a product launch and there would be a high amount of orders at the same time, and I needed to limit do 1 unit per user. Well, some users managed to buy more than the amount set. I set the limit for all users, and for customers too. When we test it on our end it works fine, limits the purchase like it should, but when we have a high volume of orders at the same time of the same product some customers are able to bypass that limit, but I don’t know how.

    #178499
    Juwel
    Participant

    Hi Maicon, This usually happens due to race conditions during high traffic, caching, or limits enforced only on the frontend. Ensure server-side validation, disable cart/page caching for checkout, and check plugin conflicts or stock rules. If the issue persists, contact me.

    #178744
    Maicon Aloncio
    Participant

    The cache is disabled for the cart, checkout and my account pages. I didn’t understand the part about “limits enforced only on the frontend”? Like, how would that happen when I’m using the plugin? And also, can you elaborate on the ensure server-side validation?

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