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.