diff --git a/app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php b/app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php index 0180c2fc60f..8c0f49e8d40 100644 --- a/app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php +++ b/app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php @@ -442,8 +442,7 @@ protected function _initSelect() { if ($this->isEnabledFlat()) { $this->getSelect() - ->from([self::MAIN_TABLE_ALIAS => $this->getEntity()->getFlatTableName()], null) - ->where('e.status = ?', new Zend_Db_Expr(Mage_Catalog_Model_Product_Status::STATUS_ENABLED)); + ->from([self::MAIN_TABLE_ALIAS => $this->getEntity()->getFlatTableName()], null); $this->addAttributeToSelect(['entity_id', 'type_id', 'attribute_set_id']); if ($this->getFlatHelper()->isAddChildData()) { $this->getSelect()