Custom Error Message
-
Hi Support,
I am creating a WooCommerce site with WordPress user registration disabled. Customer accounts are created automatically during WooCommerce Checkout process but the site is not open for other WordPress roles (such as subscribers, contributors, editors, etc.).
When a customer account is created automatically during WooCommerce checkout, an Auth0 snippet (found here) creates a related Auth0 user account too. Now, when someone, not a customer, tries to login they get the following error message –
There was a problem with your log in: Could not create user. The registration process is not available. Please contact your site’s administrator. [error code: unknown]
This is expected since signups are disallowed in WordPress. My question is there a way to customize this error message to say
only verified customer can login
?
If so, could someone please guide how to do so when using the Universal Login (not embedded) option?
Kind regards,
- The topic ‘Custom Error Message’ is closed to new replies.