Home Forums Basel support forum BASEL: display name on My Account page does not update

BASEL: display name on My Account page does not update

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #151215

    oleg_dmitriev
    Participant

    Hi there, design of your theme is really great.
    please help me to solve this issue:

    Display name in basel-user-panel widget is not the same as WooCommerce display name which you define in My Account. After I change Display name in WooCommerce MY account, the basel-user-panel does not change. How can I make the basel-user-panel use the same display name? Example https://imgur.com/a/pkYfid2

    Thank you 🙂

    #151287

    Hello,

    I have tested in our environment. I have changed “display name” and it has changed https://prnt.sc/pm31mp

    Please provide the site admin access to the private area so that I could check.

    Best Regards

    #151613

    oleg_dmitriev
    Participant

    Hello, thank you for your reply.

    The Display name you showed on your picture (Header) changes without problem :)))
    The problem is, the display name in the bottom left corner, which is managed by the widget “basel-user-panel”.

    When I changed the “Display name” in My Account Details from “Tester-name-1” to “Tester1” it does not change here.

    See screenshot: Display name changed, basel-user-panel not changed: https://imgur.com/a/00xlA9o
    See “inspect element”: https://imgur.com/a/5vIvLDs

    Should I edit the widget?

    #151629

    Hello,

    “Display name” is in the field of My Account of Woocommerce.

    “Welcome, admin” is the user ID to log in WordPress. Please have a look at the screen https://gyazo.com/536a4cdb0f1cd477fbc5fd6326d813e6 You cannot edit log in ID of the user.

    Best Regards

    #151643

    oleg_dmitriev
    Participant

    The widget “BASEL-USER-PANEL” in the MyAccount page shows the WP user name, instead of Display name. https://imgur.com/a/xpkiPhW

    It is a widget of the BASEL theme, and that is why I am asking you. please tell me how to make BASEL-USER-PANEL widget show the display name, not WP user name. Thank you for your help.

    #151711

    Hello,

    Please find this file basel/inc/shortcodes/shortcodes.php

    Then change this line in the file:

    <span><?php printf( wp_kses( __('Welcome, <strong>%s</strong>', 'basel' ), 'default'), $user->user_login ) ?></span>

    for this line:

    <span><?php printf( wp_kses( __('Welcome, <strong>%s</strong>', 'basel' ), 'default'), $user->display_name ) ?></span>

    Best Regards

    #151714

    oleg_dmitriev
    Participant

    Done! https://imgur.com/a/8FXXSFu
    it worked, all fixed!

    thank you very much! :)) have a nice day

    #151720

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘BASEL: display name on My Account page does not update’ is closed to new replies.