Created
October 24, 2014 10:47
-
-
Save pauldonnelly/5989a6e1c47518ea8c5e to your computer and use it in GitHub Desktop.
Show Firstname or Lastname Only In Welcome Message
app\design\frontend\default\default\template\page\html\header.phtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php echo $this->__('Hi %s', Mage::getSingleton('customer/session')->getCustomer()->getFirstname()); ?> | |
<?php echo $this->__('Hello Mr %s', Mage::getSingleton('customer/session')->getCustomer()->getLastname()); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment