Magento Check if Customer Loged in or Not
<?php
$_customer = Mage::getSingleton('customer/session')->isLoggedIn();
if ($_customer) {
// do stuff
}
?>
<?php
$_customer = Mage::getSingleton('customer/session')->isLoggedIn();
if ($_customer) {
// do stuff
}
?>