Remove customer account dashboard links in magento

No comments
Removing customer account dashboard links, is very easy in magento. What you need to do is open your navigation.phtml file and find $count = count($links); unset the links which you don't want to show in customer account.

Here is the steps:

Go to: your template/customer/account/navigationa.phtml

find $count = count($links); and put unset statements just below it. For example I want to remove tags link then i will put code as below:

$_count = count($_links);
unset($_links['tags']);
unset($_links['wishlist']); // For wishlist
unset($_links['newsletter']); // For Newsletter
unset($_links['address_book']); // For address

Save the files and clear the cache now you will see the links are removed from customer account.


No comments :

Post a Comment