Tag : customer-logged-in

Magento check if customer is logged in

This is a method to verify if a customer is logged in or not:


if(Mage::getSingleton('customer/session')->isLoggedIn())
{
// Code to execute
}