I've tried rewriting catalog_blocks_layer_view with this config in a module (the module is turned on and works.) but my rewrite isn't rewriting and I'm not getting any errors. Does anyone know what could be up? Thank you!
config.xml
<?xml version="1.0"?>
<config>
<modules>
<Company_Mods>
<version>0.1.0</version>
</Company_Mods>
</modules>
<global>
<blocks>
<catalog>
<rewrite>
<layer_view>Company_Mods_Block_Catalog_Layer_View</layer_view>
</rewrite>
</catalog>
</blocks>
</global>
</config>
rewrite:
<?php
class Company_Mods_Block_Catalog_Layer_View extends Mage_Catalog_Block_Layer_View {
public function getFilters()
{
$filters = array();
$filterableAttributes = $this->_getFilterableAttributes();
foreach ($filterableAttributes as $attribute) {
$filters[] = $this->getChild($attribute->getAttributeCode() . '_filter');
}
return $filters;
}
}