10

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 – Dominic Xigen May 22 at 21:28
0

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 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"> <arguments> <argument name="block_id" xsi:type="string">Block_Code</argument> </arguments> </block> </referenceContainer>

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.