Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Adding order information to Order Success Page (success.phtml)
 
itzik
Member
 
Total Posts:  36
Joined:  2008-07-21
 

I’m trying to add order information to the order success page (success.phtml).  For example, I’d like to show the buyer their Billing address and the items they ordered so they may print it out as a receipt.  I tried using:

<?php echo $this->getBilling()->format('html'); ?>

but it only yielded an error:

Fatal error: Call to a member function format() on a non-object in /home/liquncom/public_html/app/design/frontend/default/default/template/checkout/success.phtml on line 46

Does anyone have an idea on how to do this?  I’m sure it’s fairly simple…

Thanks in advance.

 
Magento Community Magento Community
Magento Community
Magento Community
 
rohansh89
Jr. Member
 
Total Posts:  16
Joined:  2011-06-22
 

I also want to know for the same. as I am using onepagecheckout module so success.phtml is not there.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top