Showing results for 
Search instead for 
Did you mean: 

Remove top bar in header from Magento


Remove top bar in header from Magento

Hello everyone.


Does anyone know how to remove the top bar in the header which contains "My Whish list" and "My Account"? I wan't to remove it from a particular store view.


Thank you!


Re: Remove top bar in header from Magento



In the top bar, these links belong to top.links in layout. You can search your layouts to understand how they work.

For example, my current package is rwd

Remove My Account -> comment lines: app/design/frontend/rwd/default/layout/customer.xml

        <!-- Mage_Customer -->
        <!--<reference name="top.links">-->
            <!--<action method="addLink" translate="label title" module="customer"><label>My Account</label><url helper="customer/getAccountUrl"/><title>My Account</title><prepare/><urlParams/><position>10</position></action>-->
            <!--<action method="addLink" translate="label title before_text" module="customer"><label>Register</label><url helper="customer/getRegisterUrl" /><title>Register</title><prepare/><urlParams/><position>100</position><li/><a/></action>-->
        <reference name="footer_links2">
            <action method="addLink" translate="label title" module="catalog"><label>My Account</label><url helper="customer/getAccountUrl" /><title>My Account</title></action>

Remove Wishlist -> comment lines: app/design/frontend/rwd/default/layout/wishlist.xml

        <reference name="top.links">
            <!--<block type="wishlist/links" name="wishlist_link" />-->
            <!--<action method="addLinkBlock"><blockName>wishlist_link</blockName></action>-->

        <!-- Mage_Wishlist -->
        <reference name="right">
            <block type="wishlist/customer_sidebar" name="wishlist_sidebar" as="wishlist" after="cart_sidebar" template="wishlist/sidebar.phtml" />


There is an option : System > Configuration > Wishlist > General Options > you can enable or disable Wishlist module.

Problem solved? Click Accept as Solution!