Problems with new customer login - by equality

This topic has 23 replies, 2 voices, and was last updated 9 years, 3 months ago ago by Eva Kemp

  • Avatar: equality
    equality
    Participant
    September 21, 2016 at 09:18

    hello,
    i have the site below and there is problem with the new customer registration.
    When a customer set a new user name with the same email it says that “An account is already registered with that username” instead of “An account is already registered with your email address”.
    The file in woocommerce/includes/wc-user-functions.php is right:

    if ( email_exists( $email ) ) {
    return new WP_Error( ‘registration-error-email-exists’, __( ‘An account is already registered with your email address. Please login.’, ‘woocommerce’ ) );

    So where is the problem?
    Probably in which case the WooCommerce function is not used.
    Also,i have a plugin,the”WooCommerce Email Customizer” that customize the form of emails that send the Woocommerce but in the case of new registration not work and send the default email of woocommerce.
    With other theme both the issues is ok.So,the problem is to the Royale.
    Thank you

    Please, contact administrator
    for this information.
    22 Answers
    Avatar: Eva
    Eva Kemp
    Participant
    September 21, 2016 at 10:01

    Hello,

    Are you using this registration form http://ggshop1.equality.gr/%ce%b5%ce%b3%ce%b3%cf%81%ce%b1%cf%86%ce%ae/ ? It is provided by the theme, but you can use default Woocommerce registration form here http://ggshop1.equality.gr/%ce%bf-%ce%bb%ce%bf%ce%b3%ce%b1%cf%81%ce%b9%ce%b1%cf%83%ce%bc%cf%8c%cf%82-%ce%bc%ce%bf%cf%85/ and disable our Register link in the header.

    Regards,
    Eva Kemp.

    Avatar: equality
    equality
    Participant
    September 21, 2016 at 10:12

    no,i want the registration form from the theme.Is not possible?
    And certainly the Register link in the header.
    The problem is not the registration form ,but the registration email and the message that appears when a customer try to register with the same email.
    So the registration with the form of the theme is problematic?

    Avatar: Eva
    Eva Kemp
    Participant
    September 21, 2016 at 12:05

    Hello,

    You can change message in the file wp-content/themes/royal/framework/theme-functions.php in line 1506.
    To change email content edit the same file in the line 1546.

    Regards,
    Eva Kemp.

    Avatar: equality
    equality
    Participant
    September 21, 2016 at 12:32

    At file wp-content/themes/royal/framework/theme-functions.php there is not the message “An account is already registered with that username” for change it and also i don’t want to change directly the template of registration email ,but i want to make the plugin work such as work for the others emails of Woocommerce(like new order,Completed order etc).I don’t know,maybe canceling the registration email of Royal?

    Avatar: Eva
    Eva Kemp
    Participant
    September 21, 2016 at 13:06

    Hello,

    WooCommerce Email Customizer plugin won’t work with our registration form, in this case you need use default Woocommerce registration form.

    Regards,
    Eva Kemp.

    Avatar: equality
    equality
    Participant
    September 21, 2016 at 13:36

    ok,how can use the default registration form at the header?

    Avatar: Eva
    Eva Kemp
    Participant
    September 21, 2016 at 13:45

    Hello,

    You need disable our Register link and use Sign In link where default Woocommerce forms are displayed.

    Regards,
    Eva Kemp.

    Avatar: equality
    equality
    Participant
    September 21, 2016 at 16:04

    so,is not possible to have both Register link and use Sign In link at header with default Woocommerce form?

    Avatar: Eva
    Eva Kemp
    Participant
    September 21, 2016 at 16:34

    Hello,

    Unfortunately, no.

    Regards,
    Eva Kemp.

    Avatar: equality
    equality
    Participant
    September 21, 2016 at 17:46

    So,how is possible to translate the word sign in to the header to sign in/login(in Greek).
    I try from .po file but that is not possible

    Avatar: equality
    equality
    Participant
    September 21, 2016 at 17:53

    Never mind,is ok now!
    In the case that i want to keep the registration form of Royale,i still not understand how can i change the wrong message when the client set the same email!

    Avatar: Eva
    Eva Kemp
    Participant
    September 21, 2016 at 18:22

    Hello,

    Please provide a direct page to registration form.

    Regards,
    Eva Kemp.

    Avatar: equality
    equality
    Participant
    September 21, 2016 at 19:11

    What it means direct page?
    I have the registration page with custom registration template

    Avatar: Eva
    Eva Kemp
    Participant
    September 21, 2016 at 20:03

    Hello,

    Currently I see only default Woocommerce form http://storage6.static.itmages.com/i/16/0921/h_1474484620_5853151_013bf25d75.png and no Register link in the header.
    Have you removed it?

    Regards,
    Eva Kemp.

    Avatar: equality
    equality
    Participant
    September 21, 2016 at 20:30

    yes.But i want if is possible the royal form.
    So if you try to put to royal registration form a user name with the same email give wrong message.
    You want to reset at the site the royal form for take a look?

    Avatar: Eva
    Eva Kemp
    Participant
    September 22, 2016 at 07:00

    Hello,

    Yes, please, enable our form again to check the issue.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: equality
    equality
    Participant
    September 22, 2016 at 08:04

    Is already enabled!
    I see that at theme-functions.php there is the code :

    $status = wp_create_user( $username, $pass, $email );
    if ( is_wp_error($status) ) {
    $return[‘status’] = ‘error’;
    $return[‘msg’] = __( “Username already exists. Please try another one.”, ETHEME_DOMAIN );
    echo json_encode($return);
    this means i suppose that there is one message either the username already exists,or the email exists

    Avatar: Eva
    Eva Kemp
    Participant
    September 22, 2016 at 10:25

    Hello,

    Yes, there is one message.
    You can change it to something general.

    Regards,
    Eva Kemp.

    Avatar: equality
    equality
    Participant
    September 22, 2016 at 12:15

    So,is not possible to create another one?

    Avatar: Eva
    Eva Kemp
    Participant
    September 22, 2016 at 13:01

    Hello,

    To get other message output requires additional customization which is beyond our basic support scope. You can order customization service via this form https://www.8theme.com/customization-services/

    Regards,
    Eva Kemp.

    Avatar: equality
    equality
    Participant
    September 22, 2016 at 13:10

    I think that is not a custom choice but an essential element,because that’s how it is Woocommerce.Is a normal function and not a customization.
    Anyway ,thank you!

    Avatar: Eva
    Eva Kemp
    Participant
    September 22, 2016 at 13:54

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 23 results - 1 through 23 (of 23 total)

The issue related to '‘Problems with new customer login’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.