Get customer details customer id, name, email in Fronted

December 6, 2018

In this Tutorial, we are Learning How to Get customer details customer id, name, email in Fronted. Magento get customer details, customer ID, name, email if already logged in. Get customer firstname, lastname, email address for logged in customers. Get Birthdate for logged in customers and logged in customer address information in Fronted.

When you login in Magento. Magento Save customer data in session you can get all data of login customer using session. session data give you a object of data. Get customer detail in  fronted in magnento1.

You have to create the phtml file. You can call your phtml in your CMS Page and Static Block as per requirement.

This is Your phtml file,

Fore More Detail Watch this,