How to modify login and welcome message on a website header?

How to modify login and welcome message on a website header?

tmvanity
Visitor
1 0 0

Good day

 

I would like to do the following

 

1. I need to remove the login icon that is located between the search button and the cart icon.

2. I will then link the announcement bar text "login/register" to the login or register button or link

3. Once the customer is logged in then the announcement bar should change from login/register and display a welcome message with the customer name. i.e. "Welcome Tshepiso" If I can't use the announcement bar it can be anywhere at the header part of the website.

Reply 1 (1)

gr_trading
Shopify Partner
2030 148 205

Hi @tmvanity ,

 

Yes, that can be done but for that, you have to modify your current theme like comment the existing code from the header.

 

You can use the below code to put the text in the announcement file on your own if you have coding experience.

{% if customer %}
Login user
{% else %}
Non login user
{% endif %}

 

Let me know if you want us to do this for you.

For any custom development WhatsApp or connect at Email ID: support@grtrading.in for quick consultation. | Shopify Free codes
To support Buy Me a Coffee