Question

I have changed magento signup page layout from 1column.phtml to 2columns-left.phtml in customer.xml. I need to display only one block on my magento Signup page left panel. All other blocks should be removed from the page. Currently I am getting three magento's default blocks on my left panel with my custom block. How to remove other blocks using xml? Anyone Please help.

Was it helpful?

Solution

<remove name="block.name" />

in your layout.xml

OTHER TIPS

within local.xml

<customer_account_login>
   <remove name="left.permanent.callout" />  

   <remove name="catalog.compare.sidebar" />  <!--product compare-->


   <remove name="left.reports.product.viewed" /> <!--recently viewed prod-->

</customer_account_login>"

this way you can remove whatever blocks you want to.

For this you have to have use remove tag with name of block in customer.xml in customer_account_login section

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top