2011-07-13
产品页估算运费插件支持多店问题(Estimate Shipping on the Product Page)
栏目:magento疑难解答
1,160 views
2 枚回复
上次发现一个插件不支持多店,很郁闷,现在解决了~哈哈开心!
本来在magento网店中装了个产品页估算运费的插件,这个插件是免费的,官方安装地址是
http://www.magentocommerce.com/magento-connect/EcomDev/extension/3860/ecomdev_productpageshipping
开发插件作者早在去年就停止更新了,上次在多店面里面使用该插件结果报下面错误:
1 | Fatal error: require_once() [function.require]: Failed opening required 'app/code/core/Mage/Catalog/controllers/ProductController.php' (include_path='/home/wines2bu/public_html/app/code/local:/home/wines2bu/public_html/app/code/community:/home/wines2bu/public_html/app/code/core:/home/wines2bu/public_html/lib:.:/usr/lib/php') in /home/wines2bu/public_html/app/code/community/EcomDev/ProductPageShipping/controllers/EstimateController.php on line 59 |
解决此错误的方法是:
1.打开app/code/community/EcomDev/ProductPageShipping/controllers/EstimateController.php
2.找到
1 | require_once 'app/code/core/Mage/Catalog/controllers/ProductController.php'; |
修改成
1 | require_once BP . DS . 'app/code/core/Mage/Catalog/controllers/ProductController.php'; |
3.刷新缓存OK.
标签: Estimate Shipping , 产品页估算运费插件
转载注明:转自Topmagento.com|Magento技术交流站
本站遵循:署名-非商业性使用-禁止演绎 3.0 共享协议
收藏分享:
QQ书签 /
百度收藏 /
Google书签 /
收藏到鲜果 /
Digg /
Del.icio.us
热门文章
- 解决安装magento报错问题SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'cataloginventory_stock_status' already exists Trace:
- magento 优化-正确建立robots.txt文件
- 手动删除单个指定的magento订单
- 解决升级magento报错问题:Only variables should be passed by reference in ..lib/Zend/Db/Select.php on line 216
- Magento整合Wordpress插件 FishPig's WordPress Integration

我来啦,顶顶你
[回复]
不错 来一次就不一样的感觉了
[回复]