Webkul
Services
Technologies Bagisto QloApps
iOS Android SAP BigCommerce Wix
Trusted by
Samsung Intel Toyota Walmart Disney Nokia Nestlé Decathlon
See all customers
Back to Top
DOC

Magento call static block on cms pages

If You want to call a static block on anu CMS page like homepage so you just follow the steps
Go To CMS->Pages
Select Your page

Go To Design->Layout Update XML
Reference means the block will call on left right or Content

<reference name="content">
<block type="cms/block" name="home-page-block">
<action method="setBlockId"><block_id>static-block-identifier</block_id></action>
</block>
</reference>

In case if reference already there then just use
<block type="cms/block" name="home-page-block">
<action method="setBlockId"><block_id>static-block-identifier</block_id></action>
</block>

Enjoy 🙂

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home