Topmagento.com|Magento技术交流站

产品页估算运费插件支持多店问题(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.


标签: ,

转载注明:转自Topmagento.com|Magento技术交流站

本站遵循:署名-非商业性使用-禁止演绎 3.0 共享协议

收藏分享: QQ书签 / 百度收藏 / Google书签 / 收藏到鲜果 / Digg / Del.icio.us


2 枚回复


  1. wps 说道:

    我来啦,顶顶你

    [回复]

  2. xiaoxiaopin 说道:

    不错 来一次就不一样的感觉了

    [回复]


发表回复


XHTML: 您可以使用如下代码:<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>