Json 捆绑产品错误 (MAGENTO)
Json Error in bundle products (MAGENTO)
我一直在使用 Magento 版本。 1.9.2.4 没有任何问题,直到使用捆绑产品。
每次我转到捆绑产品时,页面都会在列出选项产品价格时停止。
使用 Firebug 表示:
ReferenceError: bundle is not defined
bundle.reloadPrice();
Var bundle 未定义,因为 bundle.phtml 虽然被
调用但无法正常工作
getChildHtml('product_type_data'); ?>
根据这个问题,我发现 $this->getJsonConfig()
在嵌入到 view.phtml 中时有效:
JsonConfig 说:{"productId":"3125","priceFormat":{"pattern":"...etc
,但在加载 bundle.phtml 时却没有。
这里可以看到问题:http://www.mueblesbonitos.com/bundle1.html
我在论坛上搜索过,看到了非常相似的问题,但我还没有找到解决方案。
终于找到问题了。
CJM Custom Stock Status extension
导致 JSON 冲突(即使是在新的 Magento 安装上)所以我决定卸载它并使用另一个兼容的扩展。
我希望这对某人有所帮助并节省大量时间
我一直在使用 Magento 版本。 1.9.2.4 没有任何问题,直到使用捆绑产品。 每次我转到捆绑产品时,页面都会在列出选项产品价格时停止。
使用 Firebug 表示:
ReferenceError: bundle is not defined
bundle.reloadPrice();
Var bundle 未定义,因为 bundle.phtml 虽然被
调用但无法正常工作 getChildHtml('product_type_data'); ?>根据这个问题,我发现 $this->getJsonConfig()
在嵌入到 view.phtml 中时有效:
JsonConfig 说:{"productId":"3125","priceFormat":{"pattern":"...etc
,但在加载 bundle.phtml 时却没有。
这里可以看到问题:http://www.mueblesbonitos.com/bundle1.html
我在论坛上搜索过,看到了非常相似的问题,但我还没有找到解决方案。
终于找到问题了。
CJM Custom Stock Status extension
导致 JSON 冲突(即使是在新的 Magento 安装上)所以我决定卸载它并使用另一个兼容的扩展。
我希望这对某人有所帮助并节省大量时间