Last active
July 17, 2019 13:05
-
-
Save wesleyalmd/77c260cfdf8c45d38ff9513a31fd8d84 to your computer and use it in GitHub Desktop.
[Magento 1] - isLogged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if(!Mage::getSingleton('customer/session')->isLoggedIn()){ | |
//not logged in | |
}else{ | |
// logged in | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment