Ajax Cart - Out of stock error

Hi there.

I use AJAX Cart in my Magento 1.9.
But when I am adding more product than stock, the Ajax Cart crash (Freeze - wheel rotate) and nothing happens.
I was supose to get an “Out of stock” msg - but no. I can just go back in my browser.

How can I fix this issue?
Help please.


If you’re interested in, I can provide paid support. You can contact me if you’re interested in

Add conditions before to function code on cart page, So that it check if more quantity is entered than available one and a code on last line of Ajax cart so Product will not add to cart

Hope it solve the issue :slight_smile: