Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/magento/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Magento 将步骤添加到checkitout_Magento_Checkout - Fatal编程技术网

Magento 将步骤添加到checkitout

Magento 将步骤添加到checkitout,magento,checkout,Magento,Checkout,我的公司刚刚启动了baught,我正试图在其中添加一个步骤。 实际上,我已经将这一步骤集成到“常规”OPC中 查看扩展名的代码,我看到在layout checkitout.xml文件中使用了一个addcheckoutpentolayout方法。如果我将此行放入checkout.layout块: <action method="addCheckoutStepToLayout"><layout>right-bottom</layout><step>po

我的公司刚刚启动了baught,我正试图在其中添加一个步骤。
实际上,我已经将这一步骤集成到“常规”OPC中

查看扩展名的代码,我看到在layout checkitout.xml文件中使用了一个
addcheckoutpentolayout
方法。如果我将此行放入
checkout.layout
块:

<action method="addCheckoutStepToLayout"><layout>right-bottom</layout><step>points</step></action>
有无
,但直到现在都没有运气。

我很乐意阅读您的建议,thx

最终我直接询问了作者,解决方案非常简单。
当我试图通过模块的布局文件进行更新时,该块还没有创建:我已使其取决于Ecomdev_Checkitout,现在一切正常

<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>
<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>