I need to filter a magento product collection by disabled status. Magento seems to by default ignore disabled products when loading the collection.
So there are two parts to my question:
1 - How can i load a collection in magento containing only disabled products? 2 - Why is magento not loading disabled products in the collection to begin with?
I am using standard code to load the collection:
$collction = Mage::getModel('catalog/product')->getCollection()
this never loads disabled products.
mage_catalog_category_product_index
instead ofmage_catalog_category_product
, so I still can't get the disabled products. – Verso