Multi select filter in layered navigation

Zifius picture Zifius · Sep 29, 2011 · Viewed 8.9k times · Source

I have a custom multi select attribute which I'd like to take part in filtering of products. The attribute is set as used in Layered Navigation however doesn't appear in the list of available filters. Could be due to custom model implementation? Anyone have some tips where to check why it doesn't appear? Attribute is set for several products Magento version used is EE 1.11

Thanks

Answer

Zifius picture Zifius · Oct 4, 2011

For those who will struggle with this in the future: the problem is in Mage_Catalog_Model_Resource_Product_Indexer_Eav_Source file on line 191. By default multi select attribute values are being pulled from eav_attribute_option and if your custom attribute uses custom source model the attribute will not be indexed.

I don't know as of yet if it's intended but I couldn't find a better solution than overriding that model in local pull and adding required values in $options array.

Hope this helps someone, someday