cancel
Showing results for 
Search instead for 
Did you mean: 

How to call static block from Category Layout Update XML Magento 2?

How to call static block from Category Layout Update XML Magento 2?

Hi

I am trying to call a static block in category page after category products. I have added a below code in category design layout update xml but nothing is displaying.

 

<referenceContainer name="content">
<block class="Magento\Cms\Block\Block" name="search-block" after="category.products">
<arguments>
<argument name="57" xsi:type="string">search-block</argument>
</arguments>
</block>
</referenceContainer>

Display mode is staticblock and products.

Thanks for your answer in advance.

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.