• Resolved benrennigen

    (@benrennigen)


    Hello,

    I’m on the latest version of WooCommerce as of 2022-03-28 and I already disabled all other plugins without success.

    The problem is, when a user has forgotten his password and let WooCommerce send a link to set a new password, the email is missing the username of that user. It reads as the following:

    
    Hi {username},
    
    Someone has requested a new password for the following account on %s:
    
    If you didn't make this request, just ignore this email. If you'd like to proceed:
    
    {url}
    

    The problem is, the username after “following account on %s:” is missing. Only the username in the first line (“Hi {username},”) is visible.

    I think the code for this can be found in

    /wp-content/plugins/woocommerce/templates/emails/customer-reset-password.php

    (there is no child template that overrides the file)

    and the line is 31:

    <p><?php printf( esc_html__( 'Username: %s', 'woocommerce' ), esc_html( $user_login ) ); ?></p>

    I just can’t see any problem there.

    The bug is 100% reproducible.

    I appreciate any help you can offer

    Thanks a lot !

    Kind regards,
    Ben

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    As a first step, please share the following:

    System Status:?You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.

    Error log:?share a copy of the fatal error log found under WooCommerce > System Status > Logs (if available)

    Thread Starter benrennigen

    (@benrennigen)

    Hello maykato,

    thanks a lot for your answer. During the process of getting the information you requested, I suddenly saw that the error was gone.

    The problem was due to a plugin named Germanized, that makes changes to WooCommerce to be compatible with German market laws.

    Thanks anyways for your help!

    Glad to hear that it’s all sorted out!

    Please feel free to open a new topic if you have any other questions.

    Cheers

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘E-Mail for password reset is missing the username’ is closed to new replies.