/** * Modifies default block names to specific ones if engine is active. * @todo add blocks */ protected function _initBlocks() { parent::_initBlocks(); $this->_categoryBlockName = 'elasticgento_catalog/catalog_layer_filter_category'; $this->_attributeFilterBlockName = 'elasticgento_catalog/catalog_layer_filter_attribute'; $this->_priceFilterBlockName = 'elasticgento_catalog/catalog_layer_filter_price'; $this->_decimalFilterBlockName = 'elasticgento_catalog/catalog_layer_filter_decimal'; $this->_booleanFilterBlockName = 'elasticgento_catalog/catalog_layer_filter_boolean'; }
protected function _initBlocks() { parent::_initBlocks(); $this->_stateBlockName = 'catalog/layer_state'; $this->_categoryBlockName = 'solr/layer_filter_category'; $this->_attributeFilterBlockName = 'solr/layer_filter_attribute'; $this->_priceFilterBlockName = 'solr/layer_filter_price'; $this->_decimalFilterBlockName = 'solr/layer_filter_decimal'; }
/** * Initialize blocks names */ protected function _initBlocks() { parent::_initBlocks(); if (Mage::helper('enterprise_search')->getIsEngineAvailableForNavigation()) { $this->_categoryBlockName = 'enterprise_search/catalog_layer_filter_category'; $this->_attributeFilterBlockName = 'enterprise_search/catalog_layer_filter_attribute'; $this->_priceFilterBlockName = 'enterprise_search/catalog_layer_filter_price'; $this->_decimalFilterBlockName = 'enterprise_search/catalog_layer_filter_decimal'; } }
/** * Initialize blocks names */ protected function _initBlocks() { parent::_initBlocks(); if (Mage::helper('elasticsearch')->isActiveEngine()) { $this->_categoryBlockName = 'elasticsearch/catalog_layer_filter_category'; $this->_attributeFilterBlockName = 'elasticsearch/catalog_layer_filter_attribute'; $this->_priceFilterBlockName = 'elasticsearch/catalog_layer_filter_price'; $this->_decimalFilterBlockName = 'elasticsearch/catalog_layer_filter_decimal'; } }
protected function _initBlocks() { parent::_initBlocks(); $helper = Mage::helper('layerednavigation'); $helper->setupRootCategory(); $this->_filterTemplates = $helper->getFilterTemplate(); $this->_categoryBlockName = 'layerednavigation/catalog_filter_category'; $config = $this->_getDisplayConfig(); if (isset($config['price']) && $config['price'] == 'slider') { $this->_priceFilterBlockName = 'layerednavigation/catalog_filter_price'; } }
/** * Replaces default block names if engine is active. */ protected function _initBlocks() { if (Mage::helper('nanowebg_elasticsearch')->isLog()) { Mage::log('NanoWebG_ElasticSearch_Block_Catalog_Layer_View _initBlocks', null, 'elasticsearch_debug.log'); } parent::_initBlocks(); if (Mage::helper('nanowebg_elasticsearch')->useElasticSearch()) { $this->_categoryBlockName = 'nanowebg_elasticsearch/catalog_layer_filter_category'; $this->_attributeFilterBlockName = 'nanowebg_elasticsearch/catalog_layer_filter_attribute'; $this->_priceFilterBlockName = 'nanowebg_elasticsearch/catalog_layer_filter_price'; $this->_decimalFilterBlockName = 'nanowebg_elasticsearch/catalog_layer_filter_decimal'; $this->_booleanBlockName = 'nanowebg_elasticsearch/catalog_layer_filter_boolean'; } }
/** * Ensure the default Magento blocks are used * * @return $this */ protected function _initBlocks() { parent::_initBlocks(); $this->_stateBlockName = 'Mage_Catalog_Block_Layer_State'; $this->_categoryBlockName = 'Mage_Catalog_Block_Layer_Filter_Category'; $this->_attributeFilterBlockName = 'Mage_Catalog_Block_Layer_Filter_Attribute'; $this->_priceFilterBlockName = 'Mage_Catalog_Block_Layer_Filter_Price'; $this->_decimalFilterBlockName = 'Mage_Catalog_Block_Layer_Filter_Decimal'; if (Mage::helper('attributeSplash')->isFishPigSeoInstalledAndActive()) { $this->_categoryBlockName = 'Fishpig_FSeo_Block_Catalog_Layer_Filter_Category'; $this->_attributeFilterBlockName = 'Fishpig_FSeo_Block_Catalog_Layer_Filter_Attribute'; $this->_priceFilterBlockName = 'Fishpig_FSeo_Block_Catalog_Layer_Filter_Price'; $this->_decimalFilterBlockName = 'Fishpig_FSeo_Block_Catalog_Layer_Filter_Decimal'; } return $this; }
/** * Initialize blocks names */ protected function _initBlocks() { parent::_initBlocks(); $this->_attributeFilterBlockName = 'catalogsearch/layer_filter_attribute'; }
/** * Initialize blocks names */ protected function _initBlocks() { parent::_initBlocks(); $this->_attributeFilterBlockName = 'Mage_CatalogSearch_Block_Layer_Filter_Attribute'; }
/** * Initialize blocks names */ protected function _initBlocks() { parent::_initBlocks(); $this->_brandsFilterBlockName = 'vc_shopbybrands/catalog_layer_filter_brands'; }
/** * Initialize blocks names */ protected function _initBlocks() { parent::_initBlocks(); $this->_categoryBlockName = 'holoflek_filters/layer_filter_category'; }
protected function _initBlocks() { parent::_initBlocks(); $this->_saleBlockName = 'inchoo_sale/catalog_layer_filter_sale'; }
protected function _initBlocks() { parent::_initBlocks(); $this->_categoryLayeredBlockName = 'bitbull_categorylayered/catalog_layer_filter_categoryLayered'; }