On the product edit page in the “Warehouse” section there is a rule for “Availability in stock” goods.
If in the main warehouse (in the screenshot - 1), put 0, and in the select to choose "available", then after saving the presence in stock is not available. I need this rule to check custom warehouses (2, 3 ...).
Question: where is the file handler, which checks the quantity in stock (1) and puts the "out of stock" rule?
