Select Page

Prevent Add to cart if quantity exceeds stock

Home Forums Support Prevent Add to cart if quantity exceeds stock

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • Helpful
    Up
    1
    Down
    Not Helpful

    Hi, how are you? This is me again haha.

    Well I’m making some test to my store and having a lot of feedback before the launch and all that. One of my tester discover some “bug”. When you put in the quantity box more than the stock level, bodycommerce does not prevent user from “adding” to the cart and doesn’t even get an error notice to them after the action. Instead it try to update the mini cart and the mini cart shows up as well as the mini cart pop up, like it has been added the product to the cart, while it has not. Them if you reload the page, you will get all the error notices.

    This is not a normal behavior of Woocommerce, I already check disabling bodycommerce and trying to purchase more than stock level and it does prevent users from purchasing a number beyond the stock availability. Simply the add to cart button won’t work and a notice saying you can’t add a number greater than stock level availability appears down the quantity box. This is the desire behavior of course.

    This is particular important for purchasing on mobile devices where usually customers put the value themselves rather than use the provide more and less arrows.

    Helpful
    Up
    0
    Down
    Not Helpful

    Sure I get you. A couple of questions:

    1) Are you using the custom quantity customizer?
    2) Is this on the product page?

    Helpful
    Up
    0
    Down
    Not Helpful

    1) I’m not sure what is this. I just use the .PL Add to cart module.
    2) Yes this is in the product page but I imagine this can happen in the cart page also.

    Helpful
    Up
    0
    Down
    Not Helpful

    Have you changed the appearance of the quantity input? Can you send a link so I can check it out?

    Helpful
    Up
    0
    Down
    Not Helpful

    Hello im having the same problem.
    1) yes i did from, body commerce mods -> Form Field customizer
    2) Yes this is in the product page but I imagine this can happen in the cart page also.

    Helpful
    Up
    0
    Down
    Not Helpful

    Can you send a link please or email @diviengine.com">support@diviengine.com with a link

    Helpful
    Up
    0
    Down
    Not Helpful

    Hello just sendt the link 🙂 to support @diviengine.com">support@diviengine.com

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

You must be logged in to reply to this topic.