Woo checkout page - existing account

Hello,
I am facing 2 issues on the checkout page of a woo-commerce product.

When a user is buying a product for the second time and use the same email on the checkout page, appears a red message saying “An account is already registered with your email address. Please log in”

The first issue is How do I translate this red message? Can you help me translate without installing a plugin? I have being trying editing the functions.php but just cant figure out.

The second issue is, when I click on the “Please log in” link it opens another form for the user insert his credentials. The problem is that recaptcha from google is messing up with the Button “iniciar sessão”. This recaptcha belongs to Login No Captcha reCAPTCHA plugin. Can you please help me tweak in order them not be in top of each other ? :slight_smile:

thank you

Hi @juliana,

Thanks for reaching out!

1.) If you want to change the red message for an account already registered, please check this article below:

2.) To fix your issue about the “iniciar sessão” button is on the top of the Recaptcha, please add the code below in your Pro > Theme Options > CSS

.woocommerce-form-login input[type="submit"] {
	margin-top: 60px;
}

Hope that helps.

Thank you.

hello @marc_a
It didnt help. I tried your both solutions and didnt work out for me :confused:

Hey @juliana,

The string “An account is already registered with your email address. Please log in.” is coming from WooCommerce. You will have to translate the WooCommerce plugin to be able to change the Warning message-

And please disregard the custom CSS. You should use this instead:

#g-recaptcha {
    display: block;
    min-height: 180px;
}

Kindly let us know how it goes.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.