I want to add a layered navigation block for a custom product collection. Is there a way to do that in Magento2 ?
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"> <arguments> <argument name="block_id" xsi:type="string">Block_Code</argument> </arguments> </block> </referenceContainer>