public function isEnabledFlat() { if (!Mage::helper('urapidflow')->hasMageFeature('flat_catalog')) { return false; } return parent::isEnabledFlat(); }
/** * Retrieve is flat enabled flag * Overwrite disable flat for compared item if required EAV resource * * @return bool */ public function isEnabledFlat() { if (!Mage::helper('catalog/product_compare')->getAllowUsedFlat()) { return false; } return parent::isEnabledFlat(); }