On the product edit page in the “Warehouse” section there is a rule for “Availability in stock” goods.

enter image description here

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?

Closed due to the fact that off-topic participants rjhdby , user194374, ߊߚߤߘ , Cerbo , Streletz 19 Feb '17 at 16:58 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • “Questions asking for help with debugging (“ why does this code not work? ”) Should include the desired behavior, a specific problem or error, and a minimum code for playing it right in the question . Questions without an explicit description of the problem are useless for other visitors. See How to create minimal, self-sufficient and reproducible example . " - rjhdby, Community Spirit, ߊߚߤߘ, Streletz
If the question can be reformulated according to the rules set out in the certificate , edit it .

    0