Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Display “Account & Wishlist” header only when User logged in
 
wooha1
Jr. Member
 
Total Posts:  1
Joined:  2013-03-24
 

What file and where/how should I edit it such that the top header \\\\\\\"Account\\\\\\\" and \\\\\\\"My Wishlist\\\\\\\” only displays when a user is logged in? For guests, those should not be needed to be showed.

Thank you all!

 
Magento Community Magento Community
Magento Community
Magento Community
 
prateekgupta
Guru
 
Avatar
Total Posts:  541
Joined:  2010-06-04
India
 

Hi,

You can use

$this->helper('customer')->isLoggedIn()
in header.phtml file to control that.
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top