I'm trying to load a collection of simple products programmatically. However, for some reason, Magento is filtering out of stock products with
WHERE (IF(at_status.value_id > 0, at_status.value, at_status_default.value) = 1)
Even though I did not use addInStockFilterToCollection
anywhere in the code! I tried setting Show Out of stock
products both to true and false, and neither seemed to work..
What might be the reason?