3

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.

3 Answers 3

10

<remove name="block.name" />

in your layout.xml

5

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.

1
  • 1
    Any list of all the available default block names, which I can remove? Nov 25, 2013 at 15:04
1

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

1
  • Magento will overwrite customer.xml on upgrade so standard practice is to use local.xml Nov 27, 2013 at 17:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.