我创建了一个新的表率部分,每当我尝试保存它(在网站级别)时,它似乎都是错误的。我一直在关注本教程:http://www.excellencemagentoblog.com/magento-create-custom-shipping-method
并编辑了这些文件:
Shipping/etc/system.xml
Shipping/etc/config.xml
Shipping/model/carrier/NEWCARRIER.php
Adminhtml/Model/System/Config/Source/Shipping/NEWCARRIER.php
并且还插入了一个新表
NEWCARRIER
website_id | dest_country_id | dest_region_id | dest_zip | condition_name | condition_value | price | cost
似乎只有在我尝试激活自定义表格率时才会发生。
=============================================== =================================
错误:
An error occurred while saving this configuration: Warning: include(Mage/Shipping/Model/Mysql4/Carrier/NEWCARRIER.php) [function.include]: failed to open stream: No such file or directory in /shop/lib/Varien/Autoload.php on line 93 **-- I've Fixed this**
新错误:
Can't retrieve entity config: shipping/newcarrier