"Lit the Candle"

how to hide wishlist link in magento?

In magento i think most of you are familiar with the top links section where wish list,my cart,log in etc are shown.But what if you need to hide one of the links. Usually is magento its being shown dynamically. Still it is possible to hide the link without editing the codes or any programming.

The trick is You must edit the wishlist.xml file in order to avoid the link to appear in the upper menu.

Now the question is how you will get that xml file,right? Well if you are familiar with the directory structure of  magento then its pretty easy to find it out.

Go here :  app/design/frontend/deafult/Your Theme Name/layout/wishlist.xml

Now comment out the following lines like below :

<!—-<reference name=”top.links”>

<block type=”wishlist/links” name=”wishlist_link”>

<action method=”addWishlistLink”></action>

</block>

</reference>

<reference name=”right”>

<block type=”wishlist/customer_sidebar” name=”wishlist_sidebar” as=”wishlist” after=”cart_sidebar” template=”wishlist/sidebar.phtml”/>

</reference> —->

Thats it !

June 18, 2009 - Posted by milansaha | Magento | | No Comments Yet

No comments yet.

Leave a comment