I want to get all products including disabled and enabled in one of my static page.
I am fetching product collection like
$videoProduct = Mage::getModel('catalog/product')->getCollection()
->addAttributeToSelect('*')
->addFieldToFilter('manufacturer_value', array('in' => array($brand)))
->addAttributeToFilter('is_option', 0);
Where $brand
is an array of multiple ids'.
To get all products I read somewhere to disable relation between product flat table.
It does not work for me to set "NO" to catalog flat table relation under magento admin panel.
Anyone let me know if I can get it via getCollection()
method.
$videoProduct->getSelectSql(true)
?