Wednesday 5 March 2014

Magento Check if customer is logged in.

<?php
    $_customer = Mage::getSingleton('customer/session')->isLoggedIn();
    if ($_customer) {}
?>

No comments:

Post a Comment