相关疑难解决方法(0)

Magento模块致命错误:在第516行的\ xampp\htdocs\magento\app\Mage.php中找不到类'Mage_Cashondelivery_Helper_Data'

我正在为Magento开发支付模块.我是用这个教程完成的

http://www.magentocommerce.com/wiki/5_-_modules_and_development/payment/create-payment-method-module

我创建了文件夹

app/local/Companyname/Cashondelivery/Block
app/local/Companyname/Cashondelivery/Model
app/local/Companyname/Cashondelivery/controller
app/local/Companyname/Cashondelivery/etc
app/local/Companyname/Cashondelivery/helpers
Run Code Online (Sandbox Code Playgroud)

etc/config.xml

    <?xml version="1.0"?>
    <config>
        <modules>
           <Companyname_Cashondelivery>
    <!-- declare module's version information for database updates -->
              <version>0.1.0</version>
           </Companyname_Cashondelivery>
        </modules>

        <global>


    <!-- declare model group for new module -->
            <models>
    <!-- model group alias to be used in Mage::getModel('newmodule/...') -->
                <createorder>
    <!-- base class name for the model group -->
                    <class>Companyname_Cashondelivery_createorder</class>
                </createorder>
            </models>

    <!-- declare resource setup for new module -->
            <resources>
    <!-- resource identifier -->
                <cashondelivery_setup>
    <!-- specify that this resource is a …
Run Code Online (Sandbox Code Playgroud)

php zend-framework magento

7
推荐指数
1
解决办法
2万
查看次数

标签 统计

magento ×1

php ×1

zend-framework ×1