/** * Prepare static entity fields * * @return Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection */ protected function _prepareStaticFields() { if ($this->isEnabledFlat()) { return $this; } return parent::_prepareStaticFields(); }