场景:Magento1.9版本一页支付提交付款的时候,提示Please make sure your passwords match
这是在Magento 1.9中遇到的一个常见问题。当用户注册时(在结帐过程中或在创建帐户链接时都不重要),即使密码重新输入正确,用户仍然会得到密码不匹配错误。
表单验证并不表示匹配错误,但是一旦用户单击Register,就会返回失配错误。
解决方案
复制文件 /app/code/core/Mage/Customer/Model/Customer.php 到app/code/local/Mage/Customer/Model/Customer.php并且打开编辑. 大约在 845 行
替换
$confirmation = $this->getPasswordConfirmation();
为
$confirmation = $this->getConfirmation() ? $this->getConfirmation() : $this->getPasswordConfirmation();
保存并在结帐过程中再次尝试注册。
即使是在应用程序/代码/本地文件中,也可以编写一个重写,而不是编辑核心文件。
最后
以上就是执着龙猫最近收集整理的关于对于magento提交订单提示Please make sure your passwords match的一点探讨的全部内容,更多相关对于magento提交订单提示Please内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复