public function getCategory() { if ($this->coreHelper()->getRoutePath() == 'catalog/category/view' && $this->coreHelper()->isManadevSeoLayeredNavigationInstalled()) { if (($schema = $this->seoHelper()->getActiveSchema(Mage::app()->getStore()->getId())) && $schema->getRedirectToSubcategory()) { return $this->treeHelper()->getRootCategory(); } else { return parent::getCategory(); } } return $this->treeHelper()->getRootCategory(); }
public function getCurrentCategory() { return parent::getCategory(); }