Showing posts with label Get customer detail on success page in magento. Show all posts
Showing posts with label Get customer detail on success page in magento. Show all posts

Monday, 13 October 2014

Get customer email on success page magento


Get customer email on success page magento

Some times people wants to display email address on order succes page. Here i have written the small code for this....

<?php
   $order = Mage::getModel('sales/order')->loadByIncrementId($this->getOrderId());
   echo $order->getCustomerEmail();
?>