Question

I have my latest product page called in the file latest.phtml, I need to add a cms block in this page updating its layout.xml. Note that this is not a cms page. I want to put the block in the left sidebar.

Thanks in advance

Was it helpful?

Solution

Open .xml file of your related page say latest.phtml and add this code

<reference name="left">
    <block type="cms/block" name="block_name">
     <action method="setBlockId"><block_id>Your_Block_id</block_id></action>
    </block> 
</reference>
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top