I want to add a static block below product listings, this is mainly for SEO purposes, we would prefer to do this in admin if possible as opposed to the back end on the server.
We are retailers NOT experts so layman's terms please.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityI want to add a static block below product listings, this is mainly for SEO purposes, we would prefer to do this in admin if possible as opposed to the back end on the server.
We are retailers NOT experts so layman's terms please.
Assuiming you know how to create Static Blocks
so after creating static blocks
to call them in a respective .phtml
/.xml
files
For calling in .phtml
file use this code
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('your_block_id')->toHtml() ?>
and to call them in .xml
files use this code.
<block type="cms/block" name="your_block_name">
<action method="setBlockId"><block_id>your_block_id</block_id></action>
</block>
let me know if you need any extra information about this.