As we already created the static block. Place the code below in you layout (xml) file
<block type="cms/block" name="test_main_block"> <action method="setBlockId"> <block_id>my_test_static_block</block_id> </action> </block>
See attached image for the sample.
1 comment:
Thanks for sharing this information in detail.
Magento Developers
Post a Comment