We want to display the shipping and billing address and payment method details on the review page of the one page checkout. We use persistent checkout for this. I just want to show a summery of details what the user's selected or entered.
We currently have this:
Billing address:
<address><?php echo $this->getQuote()->getBillingAddress()->format('html') ?></address>
Shipping address:
<?php if(!$this->getQuote()->isVirtual()): ?>
<address><?php echo $this->getQuote()->getShippingAddress()->format('html') ?></address>
But this does only work if you refresh the page. The details do not load directly the first time. And I do not know how to display the payment method.
I'm also looking for the code to display the payment method.
Can anyone help me to display this instant on the review page?