ASN customization - flagbit/Magento-FACTFinder GitHub Wiki

By default ASN uses native magento (or theme specific) templates for layered navigation. If you'd like to customize your filters, you can edit the corresponding templates.

The instructions below should be done in the template catalog/layer/filter.phtml.

In case you want to use preview images, enable them in the FF panel and then you can access their URL by calling $_item->getPreviewImage().

The number of filter elements (formely: detailed links) that should be shown in detail is described by the value $this->getLinkCount().

The value in unit is also important for displaying groups. This should be shown after each element value. It can be access in the following way: $this->getUnit().

The clusterLevel can be used in case of the category tree group for the indentation of the filter elements depending on their category path level. The value provided by $_item->getClusterLevel() is between the range 0 and 9.

The same changes will also affect the catalog navigation.