cancel
Showing results for 
Search instead for 
Did you mean: 

Remove top bar in header from Magento 1.9.2.3

SOLVED

Remove top bar in header from Magento 1.9.2.3

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!

1 REPLY

Re: Remove top bar in header from Magento 1.9.2.3

Hello,

 

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

 <default>
        <!-- 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>-->
        <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>
        </reference>
    </default>

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

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

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

 

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

Problem solved? Click Accept as Solution!