+2 votes
479 views
asked 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
answered by
<?php 
$logged_in = Mage::getSingleton('customer/session')->isLoggedIn(); // (boolean) 
?>

Related questions

0 votes
1 answer 522 views
0 votes
2 answers 2.4k views
0 votes
1 answer 677 views
+1 vote
1 answer 614 views
0 votes
3 answers 869 views
0 votes
1 answer 419 views
...