Magento News

 

add step to checkitout

My company have just baught Ivan’s CheckItOut extension, and I’m trying to add a step in it.
Actually, I did have this step integrated into “regular” OPC.

Looking at the extension’s code, I see that there is a addCheckoutStepToLayout method used in the layout checkitout.xml file. If I had this line into checkout.layout block:

<action method="addCheckoutStepToLayout"><layout>right-bottom</layout><step>points</step></action>

the step is added, but I’m trying to add it via my extension layout .xml file.
So I’ve tried updating the checkitout handle:

<ecomdev_checkitout_layout>
    <reference name="content">
        <reference name="checkout.layout">
            <action method="addCheckoutStepToLayout"><layout>right-bottom</layout><step>points</step></action>
        </reference>
    </reference>
</ecomdev_checkitout_layout>

updating the block through regular checkout_onepage_index handle:

<checkout_onepage_index>
    <reference name="content">
        <reference name="checkout.layout">
            <action method="addCheckoutStepToLayout"><layout>right-bottom</layout><step>points</step></action>
        </reference>
    </reference>
</checkout_onepage_index>

with and without <reference name="content">, but no luck until now.
I’d be glad reading your suggestions, thx

add step to checkitout

Possibly Related Posts:


 

Leave a Reply