Skip to content

Im trying to update the default error on registerCustomer #841

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

Open
peacheszm opened this issue Mar 14, 2024 · 1 comment
Open

Im trying to update the default error on registerCustomer #841

peacheszm opened this issue Mar 14, 2024 · 1 comment

Comments

@peacheszm
Copy link

Im using the registerCustomer mutation, and its working fine,

However when i try with the same details, i get a generic error.
"An account is already registered with your email address. Please log in."

Id like to try update this to something else? is this possible?

@kidunot89
Copy link
Collaborator

@peacheszm Sorry for the late reply. To answer you question, you'd have to filter the error message in WooCommerce directly because WooGraphQL just passes along any emit errors, from the registration process, directly from WooCommerce without any modifications.

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

No branches or pull requests

2 participants