2.4.1 and 2.3.6 create an account button disabled hotfix

43 浏览故障排除补丁

2.4.1 and 2.3.6 create an account button disabled hotfix

2.4.1 and 2.3.6里注册用户,点击提交按钮时,没有禁用按钮。是个js的问题。

This article provides a hotfix for the issue when you struggle to create a new account, after inputting an incorrect value to any field on the form. For example, when you enter an email address in the wrong format, or leave the first name or last name fields empty, or do not enter a value that meets password requirements. A permanent fix will be included in the Q1 releases (2.4.2, 2.4.1-p1, and 2.3.6-p1).

Issue

The Create an Account button on the Create New Account page remains disabled if a shopper has entered invalid data. This prevents shoppers from re-attempting to create an account after making an error.

Steps to reproduce:

  1. Go to Create New Customer Account.
  2. Fill in the form fields. In the Password field input values that do not meet the password requirements. For example:
    • the password in the Password field and password in the Confirm Password do not match.
    • the password in the Password field and password in the Confirm password field are not long enough.
  3. Click the Create an Account button.

Expected result:

  • Create an Account button should stay active/enabled.
  • User should be able to create a new account.

Actual result:

  • Create an Account button stays disabled, even after filling in all required fields with valid/correct data.
  • Customer is NOT able to create a new account.

Patch

The patch is attached to this article. To download it, scroll down to the end of the article and click the file name, or click the following link:
Download MC-38509-composer.patch

百度云下载地址:

链接: https://pan.baidu.com/s/1sCbxt4udiH0pyMx07UOzqw 提取码: 9g6e

Compatible Magento versions:

The patch was created for:

  • Magento Commerce Cloud 2.3.6 and 2.4.1.
  • Magento Commerce 2.3.6 and 2.4.1.

The patch is not compatible with any other Magento versions and editions.

参考

https://support.magento.com/hc/en-us/articles/360051130212-2-4-1-and-2-3-6-create-an-account-button-disabled-hotfix

magento 2.x 打补丁教程

更改状态以发布
0