getStoreCategories(); /* Get the current category the user is in */ $_default_category=$this->getCurrentCategory(); ?>
getIsActive()) && ($_main_category->getId() != 37)): // Skip Category with ID of 37 if($_main_category->getIsActive()): $cur_category=Mage::getModel('catalog/category')->load($_main_category->getId()); $layer = Mage::getSingleton('catalog/layer'); $layer->setCurrentCategory($cur_category); ?> getCurrentChildCategories()?> count()):?> setCurrentCategory($_default_category); ?>