Module Magento自带的配送模块-onepage签出的下一步不再有效

Module Magento自带的配送模块-onepage签出的下一步不再有效,module,magento,shipping,Module,Magento,Shipping,干杯, 我为magento 1.4.1.1创建了自己的配送模块,到目前为止还不起作用。在对这件事感到非常沮丧之后,我完全照搬了所有的东西 与我自己的模块一样,它不起作用。在onepage签出中,当输入配送地址时,我无法进一步操作,firebug指出,我的配送方法不显示在可用配送选项列表中 我的模型类确实加载了,我在前面解决了这个问题。但出于某种奇怪的原因,它不会出现在前端,我现在使用的正是来自wiki的文件 请问,有人知道这里可能出了什么问题吗 提前谢谢 编辑:这是我的配置xml:

干杯, 我为magento 1.4.1.1创建了自己的配送模块,到目前为止还不起作用。在对这件事感到非常沮丧之后,我完全照搬了所有的东西

与我自己的模块一样,它不起作用。在onepage签出中,当输入配送地址时,我无法进一步操作,firebug指出,我的配送方法不显示在可用配送选项列表中

我的模型类确实加载了,我在前面解决了这个问题。但出于某种奇怪的原因,它不会出现在前端,我现在使用的正是来自wiki的文件

请问,有人知道这里可能出了什么问题吗

提前谢谢

编辑:这是我的配置xml:

      <config>
    <modules>
  <!-- declare module's version information -->
      <YourCompany_NewModule>
  <!-- this version number will be used for database upgrades -->
        <version>0.1.0</version>
      </YourCompany_NewModule>
    </modules>
    <global>
  <!-- declare model group for new module -->
      <models>
  <!-- model group alias to be used in Mage::getModel() -->
        <newmodule>
  <!-- base class name for the model group -->
          <class>YourCompany_NewModule_Model</class>
        </newmodule>
      </models>
  <!-- declare resource setup for new module -->
      <resources>
  <!-- resource identifier -->
        <newmodule_setup>
  <!-- specify that this resource is a setup resource and used for upgrades -->
          <setup>
  <!-- which module to look for install/upgrade files in -->
            <module>YourCompany_NewModule</module>
          </setup>
  <!-- specify database connection for this resource -->
          <connection>
  <!-- do not create new connection, use predefined core setup connection -->
            <use>core_setup</use>
          </connection>
        </newmodule_setup>
      </resources>
    </global>
    <default>
            <carriers>
                <mage_newmodule>
                        <active>1</active>
                        <sallowspecific>0</sallowspecific>
    <model>newmodule/carrier_newmodule</model>
                        <name>New Module</name>
                        <title>New Module</title>
                        <specificerrmsg>
                            This shipping method is currently unavailable.
                            If you would like to ship using this shipping
                            method, please contact us.
                        </specificerrmsg>
                        <handling_type>F</handling_type>
                </mage_newmodule>
            </carriers>
    </default>

我无法让wiki文章正常工作

因此,我编辑了Flatrate.php和它的config.xml,这样我就可以在管理中有更多的设置,例如伦敦拥挤收费

这对我来说效果很好,但有人有一个本尼,因为我没有费心在当地做过山车

这是一个相对的剪报,以获得我的定制扁平化到我自己的模型,然后我可以把股票档案回来

因此,我建议采用两步方法。通过修改核心文件来克服扁平化,然后当它工作时,再将其输出到一个单独的模块中


您是对的,当它出错时,签出就不起作用。

您可以发布模块的XML配置吗?Magento可能根本不知道您的发货选项。您是否尝试过使用xedbug和IDE调试此选项?然后你可以找出为什么它没有显示…老实说,我不知道从哪里开始。。。此错误仅在我的配置中指定了正确的型号时发生。所以我假设错误就在那里。我应该在这里找什么?我还应该看看其他地方,或者更确切地说,啜饮法输出到哪里?