• Resolved zzbeck

    (@zzbeck)


    Hi

    I have an issue when a user have added an item to cart, where there is only 1 left in stock. If the user tries to add one more, the add to cart button, just stays grey, and nothing happens.

    Check the link, and size 34

    Hope you can help me.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Rishi Mehta

    (@rcreators)

    Hey,

    I understand the issue that as there is only one stock and its already in cart. so plugin is not letting another item to cart. So it works fine but we need to show something error when it don’t. right ?

    After looking into current code, there is situation added where if any error, it reload page and show error. i am not sure why its not working and as freelancer, right now i dont have enough time to solve it. is it ok for you to wait till next weekend ? or if you are a developer, you can look into woocommerce-ajax-add-to-cart-variable-products.php file line no 145 – 154 else query and check whats not working.

    Thread Starter zzbeck

    (@zzbeck)

    Yes, exactly. The plugin works, as it is not adding the item to cart, but needs to show that there isn’t more in stock.

    I can wait until next weekend, no problem.

    Thank you for quick reply.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘When stock is 0, the add to cart button stays inactive’ is closed to new replies.