Skip to content
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 'Create Account' on checkout if account exists for customer #9

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

Zaahed
Copy link
Contributor

@Zaahed Zaahed commented Dec 7, 2023

Description

This will hide the 'Create Account' section on the checkout if an account already exists for the provided shipping email address.

How Has This Been Tested?

Go to the checkout and enter an email address of an existing customer in the shipping address form. The 'Create Account' section should be gone. Re-enter the email address of a non-existing customer, the 'Create Account' section should re-appear. If the section is hidden, then it should also be hidden when refreshing the checkout page.

Changelog

  • The 'Create Account' section on the checkout is automatically hidden if the provided (shipping) email address is associated with an existing account.

@Tjitse-E
Copy link
Member

Tjitse-E commented Dec 8, 2023

Nice, thanks @Zaahed!

@Tjitse-E Tjitse-E merged commit f4178ba into develop Dec 8, 2023
2 checks passed
@Tjitse-E Tjitse-E deleted the feature/SWEHY-42 branch December 8, 2023 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants