I want to change the menu dynamically in the top navigation bar. If the customer didn't log in it should be LOGIN and after the login, it should change to ORDER DETAILS.

The current menu i haveenter image description here

After the login, it should be changed dynamically like this

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.