+2 votes
607 views
in Magento by
How can we check if customer is actually logged in on magento? Have googled a bit without luck :(

There should be someway found already for this.

Would be great if anyone can help me on this please?

Thanks in advance...

1 Answer

0 votes
by
<?php 
$logged_in = Mage::getSingleton('customer/session')->isLoggedIn(); // (boolean) 
?>

Related questions

0 votes
1 answer 642 views
0 votes
1 answer 6k views
0 votes
1 answer 1.1k views
+1 vote
1 answer 750 views
0 votes
3 answers 1.3k views
0 votes
1 answer 598 views
...