Sunday 5 May 2013

How to show billing and shipping details on order review page.

Hi All,
I happy to assist you people.
please follow below steps to get progress bar on ‘order review’ block.
replace following (checkout.xml)::::::::::
<block type="checkout/onepage_review" name="checkout.onepage.review" as="review" template="checkout/onepage/review.phtml">
<block type="checkout/agreements" name="checkout.onepage.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>
</block>
with:::::::::::
<block type="checkout/onepage_review" name="checkout.onepage.review" as="review" template="checkout/onepage/review.phtml">
<block type="checkout/agreements" name="checkout.onepage.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>

<block type="page/html_wrapper" name="checkout.progress.wrapper" as="checkout_progress">
<action method="setElementId"><value>checkout-progress-wrapper</value></action>
<block type="checkout/onepage_progress" name="checkout.progress" before="-" template="checkout/onepage/progress.phtml"/>
</block>
</block>
and call this block on checkout/onepage/review.phtml::::::::::::::::::::::::::::::::::
<?php echo $this->getChildHtml('checkout_progress') ?>
Thats it.

No comments:

Post a Comment