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 !
No comments yet.
Leave a comment
-
Archives
- September 2009 (1)
- August 2009 (2)
- July 2009 (3)
- June 2009 (2)
- May 2009 (3)
- April 2009 (2)
- March 2009 (11)
- February 2009 (6)
- August 2008 (1)
- May 2008 (2)
- March 2008 (1)
-
Categories
-
RSS
Entries RSS
Comments RSS