free
web stats

Fill the form & Get Installation Support

Connect With Us





captcha

Connect With Us





captcha

Magento remove out of stock items from shopping cart through observer

Magento automatically removes items from the shopping cart page which are out of stock. What happens if  the product goes out of stock and that product is already in other customer’s cart who have not yet checked it out?

With this script, Magento will auto-check if all the items in the cart are available in-stock before proceeding for checkout page.

In config.xml file:

In observer.php file:

 

Was this article helpful?
YesNo
Fill the below form if you have any Magento programming need.




captcha