Customer login status magento
If you want to check customer is logedIn or not in magento then this code is helpful to you. [php] <?php $loginStatus = Mage::getSingleton('customer/session')->isLoggedIn() ?> <?php if($loginStatus): ?> <li><a href="/customer/account/index" title="Customer Register">My account</a> |</li> <li><?php echo $this->getLayout()->getBlock('header')->getWelcome() ?></li> <?php else: ?> <li><a href="/customer/account/index" title="Customer Register">My account</a></li> <li><a href="/customer/account/create" title="Customer Register">Register</a></li> <?php endif ?> [/php] [JWD-Magento-Development]