December 17, 2014

Remove the Block in xml file


Remove the block in layout xml file

To remove the block from specific layout. You will copy the base layout file from the base folder to current theme layout folder.
In that, you will remove the block name using

And other way for removing the block by creating the local.xml in your current theme layout folder and add the block remove code there.
For example



In some cases you want to remove the child block, refer the code below to remove the child block

   


No comments:

Post a Comment