Variable Products are appearing in Stock with status 'Out of Stock' and Stock 'N/A'
These variable products have variations that are in stock.
Their stock is set to 0 and they have Enable stock management at product level checked.
To Reproduce
Create a variable product with variations in stock.
Set variable product stock to 0 and check 'Enable stock management at product level'.
Expected behavior
I do not expect these variable products to appear or if they do, they should aggregate the stock of the variations.
Describe the bug
Variable Products are appearing in Stock with status 'Out of Stock' and Stock 'N/A' These variable products have variations that are in stock. Their stock is set to 0 and they have Enable stock management at product level checked.
To Reproduce
Create a variable product with variations in stock. Set variable product stock to 0 and check 'Enable stock management at product level'.
Expected behavior
I do not expect these variable products to appear or if they do, they should aggregate the stock of the variations.