-
Notifications
You must be signed in to change notification settings - Fork 9.4k
hide or show the select for regions instead of enabling/disabling in customer registration #23272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hide or show the select for regions instead of enabling/disabling in customer registration #23272
Conversation
…customer registration
Hi @UB3RL33T. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
@UB3RL33T Thanks for your first contribution! Please sign the Contributor License Agreement. |
Hi @sidolov, thank you for the review.
|
✔️ QA Passed |
Hi @UB3RL33T, thank you for your contribution! |
…disabling in customer registration #23272
Description (*)
If you set the state options in Stores -> Configuration -> General -> General -> State Options and enable the address fields for customer registration the behaviour in the frontend differs from the behaviour in the checkout.
In the checkout the options are hidden if state is not required and not optional on the customer registration the dropdown is displayed but disabled.
This change should bring the customer registration more inline with the checkout behaviour.
Manual testing scenarios (*)
mytheme/src/Magento_Customer/layout/customer_account_create.xml
https://example.com/customer/account/create/
Use country select to swap between countries that have states required and states that have not
The dropdown for regions will swap between enabled and disabled state.
Do the same in checkout, there the dropdown hides / shows
Contribution checklist (*)