Web Analytics

Fill the form & Get Installation Support

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:

 

Fill the below form if you have any Magento programming need.





    Recent Articles

    Author Info

    Author Image

    Hire A. Patel

    Get a Free Quote





      /* second popup */

      Connect With Us