enable welcome message

How can i have the regular magento welcome message display at the top bar?
when a user logs in it should say welcome + the user name.
Please advise me.
 
Thanks.
 

3 answers

Profile photo of Ziven Staff 100720.00 $tone April 25, 2016
Public

Hi Jean,
Please try to input this code to place you want to show.  

<p class="welcome-msg"><?php echo $this->getChildHtml('welcome') ?> <?php echo $this->getAdditionalHtml() ?></p>

Hope it will help you.
 
Best Regards,
Ziven.

#1
Profile photo of Jeancarlos Rodriguez 270.00 $tone April 26, 2016
Public

@ziven
How do i place at the top left hand corner?
This is a standard piece of magento.
What file do i need to edit and please don’t tell me this is out of your scope because like i said it’s a standard piece of magento.
 
Thanks for your help!
 

#2
Profile photo of Ziven Staff 100720.00 $tone April 27, 2016
Public

Hi There,
Please go to the file: app\design\frontend\gem\default\template\page\html\header.phtml and add the code

<p class="welcome-msg"><?php echo $this->getChildHtml('welcome') ?> <?php echo $this->getAdditionalHtml() ?></p>

between line 29 -> 30. 
It will like this.

<div id="jm-head"><p class="welcome-msg"><?php echo $this->getChildHtml('welcome') ?> <?php echo $this->getAdditionalHtml() ?></p></div>

You will need to make some style for it show in the left.
Best Regards,
Ziven.

#3

Please login or Register to Submit Answer

Written By

Comments