Forget to deactivate products by hand when the stock is 0.
Forget to see products without stock in your store
Works automatically, once installed, just forget it's there
It works with products, combinations, warehouses and multistores!! You can configure a cron task on the server to activate or deactivate products that pass the threshold. This is very useful if you manage the stock with a program external to prestashop.
It has a field to set the desired threshold to activate/deactivate products. Customers accessing the store will only have products that are in stock, products that are not in stock are disabled.
This greatly improves the quality of the page, preventing customers from avoiding out-of-stock products. Normal installation in the modules tab, very easy and fast.
This module covers the StockAvailable class, the setQuantity method
Demo
You can test its use and configuration in the following demo: