0

Layered navigation filter by attribute not in layered menu

Is it possible to filter by an attribute in the url like ?myfilter=1 which is not in the left filter menu? So Use In Layered Navigation is NO.

help appreciated

1 Answer 1

0

Layered navigation uses pre-generated indexes to do filtering, so answer is NO, you can not use layered navigation to filter by any attribute.

However, you can add your own filter block, it will adjust product collection based on your own criteria, similar to

app\code\core\Mage\Catalog\Block\Layer\Filter\Category.php

and

app\code\core\Mage\Catalog\Model\Layer\Filter\Category.php

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.