In this quick tip we will see how we can get details of logged in customer in Magento.
You can use below code snippet in any model, controller or phtml file.
Let me know if there is any room for improvement in above code snippet.
Avinash Zala currently working at a leading web development company as a Sr. PHP Web Developer. He is the founder of the Xpert Developer. He has completed B.E. in Information Technology. Born and brought up in Ahmedabad. He loves to code and coding is all about passion for him. Follow him on twitter at Avinash Zala & Xpert Developer.
View all posts by: Avinash