If you want to display customer's details by customer's id in Magento.
You can use following code:
<?php
// Check if any customer is logged in or not
if (Mage::getSingleton('customer/session')->isLoggedIn())
{
// Load the customer's data
$customer = Mage::getSingleton('customer/session')->getCustomer();
$id =$customer->getId(); // To get Customer Id
//Get Details Using Customer Id
$customer = Mage::getModel('customer/customer')->load($id)->getData();
$customer->getName();
$customer->getEmail();
}
?>
This post is very informative, I really liked this post and very well maintained. Thanks for this kind of posts, keep updating.
ReplyDeleteBP Sheets In Haryana
Really liked this post, its so informative and pretty well maintained, Thanks for this post, really appreciated, and keep updating.
ReplyDeletenatural beauty products
Quiet impressive post and pretty well maintained. Thanks for this kind of post. Keep updating.
ReplyDeletehoverboard online
Thanks for the post like this, really appreciated.
ReplyDeletecoenzyme q10 tablets
Its very impressive post, thanks for it and keep updating,
ReplyDeletebuy burma ruby gemstone online
Its a really nice post, thanks for it.
ReplyDeleteself balancing hoverboard
Cervical Cancer Consultant In noida
ReplyDeleteHead and neck Cancer doctor In noida
Head and neck Cancer Consultant In noida