I want to add a layered navigation block for a custom product collection. Is there a way to do that in Magento2 ?

  • Try with this module link
    – rafal-kos
    Sep 1 '16 at 16:21
  • Manadev is for advanced layered navigation on a standard product collection May 22 '19 at 21:28

I know you can add one manually by adding a static block (with links to all the items you want to link) and calling it in the category layout and update xml using the code below. P.S. "Block_Code" is your static block code.

<referenceContainer name="sidebar.additional">
   <block class="Magento\Cms\Block\Block" name="male_model">
            <argument name="block_id" xsi:type="string">Block_Code</argument>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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