Check customer is login or not in magento

Magento have different session. You can check customer is login or not using customer/session.
You can check it using this piece of code:

//not logged in
// logged in

Tags: Magento1,

Related Posts

Model-View-Controller MVC
Clearing Magento Log Data
Add JQuery in Magento

No comments

Leave a Reply

Your email address will not be published. Required fields are marked *