Skip to content

Instantly share code, notes, and snippets.

@veritstudio
Created June 19, 2019 06:14
Show Gist options
  • Save veritstudio/d8a9959c77d94b78014a4a7bd174bbb2 to your computer and use it in GitHub Desktop.
Save veritstudio/d8a9959c77d94b78014a4a7bd174bbb2 to your computer and use it in GitHub Desktop.
Call CMS static block in layout xml file
<block class="Magento\Cms\Block\Block" name="[block_name]">
<arguments>
<argument name="block_id" xsi:type="string">[block_id]</argument>
</arguments>
</block>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment