Support Ticket – Login Icon Not Updating Based on User Session
🎫 Support Ticket – Login Icon Not Updating Based on User Session
Subject:
Login Icon in Header Not Updating Based on User Login Status (BeTheme + WooCommerce)
Message:
Hello BeTheme Support Team,
I’m currently using BeTheme with WooCommerce to build an online store, and I’m facing a critical issue related to the login/account icon in the header.
🔧 Problem Description:
The login icon in the header (account icon) always displays “Login”, regardless of whether the user is logged in or not.
- When a user logs in, their name or account link should be shown instead.
- When a user is not logged in, only “Login” should appear.
- This behavior does not change dynamically and seems to be static.
🧩 Environment:
- Theme: BeTheme (latest version)
- WooCommerce: Active
- Header built using: BeTheme Header Builder
- Cache plugin: [Please specify if you're using one]
- Hosting: [Optional: VPS or Shared]
✅ What I tried:
- Checked BeTheme > Theme Options > Header & Extras settings.
- Tried replacing the icon with “WooCommerce My Account” component.
- Verified user login sessions are working fine otherwise.
- Cleared cache (browser + plugin).
- Tried from incognito window.
💡 Expected Behavior:
The login/account icon should update dynamically based on the user’s session:
- Show “Login” when user is not logged in.
- Show "Username" or "My Account" or a dropdown menu when user is logged in.
Please let me know:
- Is this expected behavior in BeTheme Header Builder?
- Is there any setting I might be missing?
- Do I need to use custom code or a shortcode to fix this?
my site: https://golden.com.iq/
I’d appreciate your assistance resolving this issue, as it's crucial for user experience.
Best regards,
Comments
Hi,
You must create two login icons and assign conditional logic to them to differ if the user is logged in or not:
Best regards
PS. Did an AI write this message for you? I am asking just out of curiosity.
YES, AI tool help me to write the problem.
thanks for help