Magento 1.3.3 显示结帐购物车时出错
当我尝试在 Magento 中将产品添加到购物车时,它会出现以下 PHP 错误:
致命错误:调用未定义的方法 Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addTierPriceData()
我不知道它是什么关于;我已经尝试过 Magento 论坛,但尚未找到解决方案。
我通过 SimpleScripts.com 在 hostmonster.com 帐户中安装了 magento。由于这个奇怪的错误,我的商店仍在等待启动(www.caninarua.com/shop)。我现在真的不知道该怎么办...请帮忙。
谢谢。
As soon as I try to add a product to the shopping cart in Magento, it spits this PHP error:
Fatal error: Call to undefined method Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addTierPriceData()
I don't know what is it about; I've tried the Magento forum and I haven't yet found out a solution to this.
I installed magento through SimpleScripts.com, in a hostmonster.com account. My store is still waiting to launch due to this strange error(www.caninarua.com/shop). I really don't know what to do now...please help.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
默认 v1.3.2.4 Magento 代码库中没有任何内容调用该类的
addTierPriceData()
。然而,它确实存在于 v1.4.2 中,并由Mage_Bundle_Model_Product_Price::getFinalPrice()
调用。因此,要么您有一个调用该函数的商业主题(不太可能),要么是一个已被调用的扩展。安装了与 v1.3.3 不兼容的版本
如果您在 System>Config>Admin>Developer 中打开日志记录,您应该在
var\log\exception.log
中获得完整的堆栈跟踪,您可以将其粘贴到您的问题,我们可以验证哪一段代码正在调用该方法。There's nothing in the default v1.3.2.4 Magento codebase that calls
addTierPriceData()
on that class. It does, however, exist in v1.4.2 and is called byMage_Bundle_Model_Product_Price::getFinalPrice()
So, either you have a commercial theme that is calling that function (unlikely), or an extension that has been installed that is not compatible with v1.3.3
If you turn on logging in System>Config>Admin>Developer, you should get a full stack trace in
var\log\exception.log
which you can paste into your question and we can verify which piece of code is calling that method.