Phil Nind
Phil Nind

Reputation: 341

Remove 'My Wishlist' and 'Checkout' from header - Magento

I understand to remove the top links I have to use the Local.xml method which I have done.

However I want to remove the 'My Wishlist' and 'Checkout' links which sit next to the My account drop down in the header?

Any ideas on how to do this ?

My website can be found here...

http://magento-12075-28005-67407.cloudwaysapps.com/

enter image description here

Upvotes: 0

Views: 696

Answers (1)

roob1n
roob1n

Reputation: 58

As answered in this Question, you can do it by adding this you your local.xml:

<default>
  <reference name="top.links"> 
    <action method="removeLinkByUrl">
      <url helper="checkout/url/getCartUrl" />
    </action> 
    <block type="wishlist/links" name="wishlist_link"/>
    <action method="removeLinkBlock">
      <blockName>wishlist_link</blockName></action>
    </action>
  </reference>
</default>

Upvotes: 0

Related Questions