I have a nav bar being applied to my site with the following code:
<!-- catalog.xml -->
<default>
<reference name="left">
<block type="catalog/navigation" name="catalog.leftnav" template="catalog/navigation/left.phtml"/>
</reference>
</default>
But I do not want it to appear on the account pages. I tried the following, but it doesn’t work.
<!-- customer.xml -->
<default>
<reference name="left">
<action method="unsetChild"><name>catalog.leftnav</name></action>
</reference>
</default>
What am I doing wrong?
Apply
<remove name="catalog.leftnav"/>in your customer.xml.that will remove the block.Edit :-
Only want to remove it from account pages
for this you need to remove it from
<customer_account>