Source: Coderssoft Blog

Coderssoft Blog Change Welcome message in magento from "Welcome" to "Hello" when user is Logged in?

The steps to follow to change the "Welcome" to "Hello" message when user logged in :- Follow path :- app/code/core/Mage/Page/Block/Html/Welcome.php Edit the code - From : protected function _toHtml() { if (empty($this->_data['welcome'])) { if (Mage::isInstalled() && $this->_getSession()->isLoggedIn()) { $this->_data['welcome'] = $this->__('Welcome, %s!', $this->escapeHtml($this->_getSession()->getCustomer()->getName())); } else { $this->_data['welcome'] = Mage::getStoreConfig('design/header/welcome'); } } return $this->_data['welcome']; } [...]

Read full article »
Est. Annual Revenue
$100K-5.0M
Est. Employees
25-100
CEO Avatar

CEO

Update CEO

CEO Approval Rating

- -/100