/** * Initialize Price filter module * */ public function __construct() { parent::__construct(); if (Mage::getStoreConfig('vc_advancedcategoriesmenu/general/enable')) { $this->setTemplate('vc_advancedcategoriesmenu/catalog/layer/category/filter.phtml'); } }
public function __construct() { parent::__construct(); if (Mage::getStoreConfig('layerednavigationajax/layerfiler_config/enabled')) { $this->setTemplate('magentothem/layerednavigationajax/attribute.phtml'); } }
public function __construct() { parent::__construct(); if ($this->getLayeredNavLimitHelper()->getLimit()) { $this->setTemplate('eyemagine/layerednavlimit/catalog/layer/filter.phtml'); } }
public function __construct() { parent::__construct(); //Load Custom PHTML of category $this->setTemplate('layerednav/filter_category.phtml'); //Set Filter Model Name $this->_filterModelName = 'layerednav/layer_filter_category'; }
public function __construct() { parent::__construct(); $this->setTemplate('weltpixel/layerednavigation/catalog/layer/category-filter.phtml'); $this->_filterModelName = 'catalog/layer_filter_category'; $_helper = $this->helper('weltpixel_layerednavigation'); $this->_showCategoryCount = $_helper->showProductCountOnCategories(); }
/** * Class constructor */ public function __construct() { parent::__construct(); if ($this->helper('catalin_seo')->isCategoryLinksEnabled()) { /** * Modify template for category filter to disable ajax when url is used. */ $this->setTemplate('catalin_seo/catalog/layer/category.phtml'); } }
public function __construct() { parent::__construct(); // This block runs on both catalog and search pages, so we don't know what to check for. That's why we're using // getIsEngineAvailable() instead of getIsEngineAvailableForNavigation(). if (Mage::helper('conversionpro')->getIsEngineAvailable()) { $this->_filterModelName = 'conversionpro/catalog_layer_filter_category'; } else { $this->_filterModelName = 'catalog/layer_filter_category'; } }
public function getItems() { if (Mage::helper('gomage_navigation')->isGomageNavigation() && Mage::getStoreConfigFlag('gomage_navigation/category/active')) { if (!$this->ajaxEnabled()) { $items = parent::getItems(); foreach ($items as $key => $item) { if ($category = Mage::getModel('catalog/category')->load($item->getValue())) { $items[$key]->setUrl($category->getUrl()); } } return $items; } } return parent::getItems(); }
public function __construct() { parent::__construct(); $this->setTemplate('adjnav/filter_category.phtml'); $this->_filterModelName = 'adjnav/catalog_layer_filter_category'; }
public function __construct() { //Mage::log('Mage_Catalog_Block_Layer_Filter_Category __construct'); parent::__construct(); $this->_filterModelName = 'merlinsearch/layer_filter_category'; }
/** * Initialize filter template * */ public function __construct() { parent::__construct(); if (Mage::helper('gomage_navigation')->isGomageNavigation() && Mage::getStoreConfigFlag('gomage_navigation/category/active')) { $type = Mage::getStoreConfig('gomage_navigation/category/filter_type'); switch ($type) { default: $this->_template = 'gomage/navigation/layer/filter/category/default.phtml'; break; case GoMage_Navigation_Model_Layer::FILTER_TYPE_IMAGE: $this->_template = 'gomage/navigation/layer/filter/image.phtml'; break; case GoMage_Navigation_Model_Layer::FILTER_TYPE_DROPDOWN: $this->_template = 'gomage/navigation/layer/filter/dropdown.phtml'; break; } } }
public function __construct() { parent::__construct(); $this->setTemplate('catalogfilter/filter.phtml'); }
public function __construct() { parent::__construct(); $this->setTemplate('multiselectnavigation/filter_category.phtml'); $this->_filterModelName = 'multiselectnavigation/catalog_layer_filter_category'; }
/** * Change template & model of block */ public function __construct() { parent::__construct(); $this->_filterModelName = 'layerednavigation/catalog_filter_category'; $this->setTemplate('em_layerednavigation/filter/tree/view.phtml'); }
public function __construct() { parent::__construct(); $this->setTemplate('dmc_solr/catalog/layer/filter.phtml'); $this->_filterModelName = 'solr/catalog_layer_filter_category'; }