Stock management in Magento 1.x using SQL requests
Simple products’ stock management is a trivial process, all settings can be specified in the fields of the table cataloginventory_stock_item (quantity of product is stored in the qty field, the is_in_stock field is used for the availability value). These data are used for forming stock_status in the tab cataloginventory_stock_item_status during the process of reindexing. Some configuration’s values…