【问题标题】:Magento 2.4 - Express Checkout - Shipping Address ErrorMagento 2.4 - 快速结帐 - 送货地址错误
【发布时间】:2021-04-19 02:14:54
【问题描述】:

全新安装的 Magento 2.4.x + 主题,但有一些与快速结帐相关的问题,如下图红框区域所示。


表单缺少一些元素,例如名字、姓氏等。
当我比较周围的东西时,它应该有它。我错过了一些设置吗?

另外,当我在控制台上查看时,我看到了一些我不熟悉的 javascript 错误,如下所示

*edit - 我忘记添加的另一个错误

Uncaught ReferenceError: Unable to process binding "afterRender: function(){return oscAddress.fieldAfterRender(element.dataScope) }"
Message: oscAddress is not defined
Uncaught ReferenceError: Unable to process binding "foreach: function(){return { data:elems,as:'element'} }"
Message: Unable to process binding "if: function(){return element.visible() }"
Message: Unable to process binding "ifnot: function(){return (element.input_type =='checkbox'|| element.input_type =='radio') }"
Message: Unable to process binding "template: function(){return $parent.fieldTemplate }"
Message: Unable to process binding "afterRender: function(){return oscAddress.fieldAfterRender(element.dataScope) }"
Message: oscAddress is not defined

我对 Magento 上的前端堆栈不是很熟悉,所以我不知道我需要做什么。

有什么建议吗?我错过了一些服务器/代码设置吗?或者管理员设置?
我已经尝试刷新缓存等,但问题仍然存在。
另外,我已经更改为 Luma / 默认主题,但问题仍然存在。所以,我想知道是否有什么我错过了。

PS - 我已经按照文档满足了安装 Magento 的要求,例如 PHP 版本、elasticsearch 版本等。所以,我想知道是否有什么我错过了。

谢谢。 :)

【问题讨论】:

    标签: javascript knockout.js magento2


    【解决方案1】:

    可能有另一个单页结帐插件会产生冲突 只需从设置中禁用“一页结帐”

    商店 > Saltes > 一页结帐

    【讨论】:

    • 感谢您的帮助!我很感激。是的,当我检查他们的主题开发人员时,主题背后的主题存在问题。干杯! :)
    猜你喜欢
    • 1970-01-01
    • 2021-10-10
    • 2019-02-11
    • 1970-01-01
    • 1970-01-01
    • 2014-10-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多