Sliding cart error when adding more than remaining stock products

Hi guys. I've got an issue regarding the sliding cart. For example, If I have only 10 items left in stock and I try to add 20 items to the cart, after I click "add to cart", the cart slides but it is empty and no message is being shown (like the Wocommerce message - you cannot add more into the cart because of insufficient stock). After that, I try to add just 1 item to the cart, as I have 10 items left in stock and the cart slides again but empty. Then, only after I refresh the single product page the alert "insufficient stock" is being shown. The alert message should appear every time I try to add items to the cart and the stock is insufficient. It should NOT let me add to the cart.

Please help. It is very important.

Best Regards


Sign In or Register to comment.