Magento check if customer is logged in
Posted on: September 29, 2010 /
Categories: Magento
This is a method to verify if a customer is logged in or not:
if(Mage::getSingleton('customer/session')->isLoggedIn())
{
// Code to execute
}