protected function _getIsFilterableAttribute($attribute) { $res = null; if (Mage::helper('amshopby')->isVersionLessThan(1, 4)) { $res = $attribute->getIsFilterable(); } else { $res = parent::_getIsFilterableAttribute($attribute); } return $res; }