-
-
Notifications
You must be signed in to change notification settings - Fork 469
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
Default phone number in profile not used in checkout form #276
Comments
Summary of Changes Made: Implementation Details:
Testing: Tested scenarios where the phone number is available under the shipping address. Future Considerations: |
Hey guys, happy to accept a PR for this! |
Description
On the user profile page in the account settings, there is a section for setting a default phone number. If a user sets this, I would expect this to fill in the phone number on the checkout form.
Steps to reproduce
/us/account/profile
as an authenticated user/us/store
Suggestions for improvement
There are some ways to improve the situation:
Option 1
This choice requires a little work since the checkout form should be filled out with the saved phone number if an address isn't selected. Also, if a selected address does not have a phone number, the saved phone number in the profile should be used. If the selected address does use a phone number, then the phone number stored there, with the address, should be used, overwriting the default profile phone in the checkout form.
Option 2
This choice is easier since this just means removing some code from the user profile page.
The text was updated successfully, but these errors were encountered: