A User Profile link for woocommerce in Upfront for logged in users

I like to add a link for my customers to edit their user profile or change a password. Can you give me some direction please. When a user is logged in, there is a menu link to logout but nothing else. I would like to add an user profile like there and which will only be available when the user is logged in.

  • Predrag Dubajic
    • Support

    Hey drinky,

    Hope you're doing well :slight_smile:

    We could modify a bit the Woo code that was suggested in chat and move it to a shortcode, that way you can simply place the text element with this shortcode where-ever you want on the page and it will do the trick.

    I already did this and create a mu-plugin that you can use.
    All you need to do is download the attached file, unzip it and place it inside wp-content/mu-plugins/ folder on your server.

    After that you will be able to use [woo_profile_link] shortcode.
    When you add it to your site it will show My Account link for logged in users, and for the visitors it will show Login / Register instead of My Account.

    Would this do the trick for you?

    Best regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.