Magento Forum

How can I move checkout progress into main-col? 
 
Phaaze
Jr. Member
 
Total Posts:  14
Joined:  2008-10-22
 

How can I move the checkout progress to the main-col? I tried using $this->getChildHtml(’checkout.progress’) but it didn’t work…

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
BelVG
Guru
 
Avatar
Total Posts:  306
Joined:  2011-02-16
Minsk, Belarus
 

Hi,

The progress bar is formed in the layout using this entry

<block type="page/html_wrapper" name="checkout.progress.wrapper" translate="label">
                <
label>Checkout Progress Wrapper</label>
                <
action method="setElementId"><value>checkout-progress-wrapper</value></action>
                <
block type="checkout/onepage_progress" name="checkout.progress" before="-" template="checkout/onepage/progress.phtml"/>
            </
block>

It exists for the right column, but it is not present for the main col.
Calling $this->getChildHtml(’checkout.progress’) will not work as you use it in main col, but it is described only for right column.

To use this output to the main col you need to move the blocks in the layout from the right column to the main col.

inside <reference name="content">
or inside in the block (shipping, billing etc. ) where you will call $this->getChildHtml(’checkout.progress’)

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