Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #3034034
Bug When adding to Cart 2 same products, when having only 1 stock left
Open

Comments

  • Martin started the conversation

    These are the pre-requisites to reproduce the error:
    1) Have a Product Bundle that enables adding the same product more than once
    2) Have a Product set to be able to select 2 products in the Bundle
    3) Have only 1 stock left of a specific variation
    4) Disable negative stock, disable adding more stock that what’s left

    The Error:
    – A Client wants to buy 2 of the same variation product in a bundle.
    – The client selects the product, and selects the same variation in both lines.
    – Since the Stock is only one, the Site should not allow the client to add the cart, should throw an alert or something and tell the client “you can’t add that selection because there’s only one left, and you are trying to buy 2” or something like that.
    – What the site ends up doing, is adding the bundle to the cart, without any products, with $0 price. The client then can check out, and the store receives a $0 purchase.

    Can you guys fix the bug?

  •  767
    Janilyn replied

    Hi Martin,

    Thanks for reporting this issue to us.

    I have reported this to our developers so that they can check it out and fix it as soon as possible. When you see any update available for this plugin, kindly update then clear your site and browser's caches and cookies before checking again.

    Best regards.

    Janilyn T. - WPClever Support Agent