How do I change the Welcome Guest message?


If you want to eliminate “Welcome Guest!” Would you like to log yourself in?” message completely, turn off the Customer Greeting in your Admin -> Configuration -> Layout settings -> Customer Greeting -> Show on Index Page and set to 0.
If you want to replace this message with one of your own, start your text editor and open the includes/languages/ENGLISH/index.php file and locate these lines of code:
if (STORE_STATUS == '0') {>>
define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s">log yourself in</a>?');>>
} else {>>
define('TEXT_GREETING_GUEST', 'Welcome, please enjoy our online showcase.');>>
}>>
define('TEXT_GREETING_PERSONAL', 'Hello <span class="greetUser">%s</span>!');
As you can see, there are two Welcome messages depending upon whether you wish  Zen Cart to be a fully functioning store, or just a showroom.
Edit the message starting from the word “Welcome” but be careful not to change the text in angled brackets, or the brackets themselves. Make sure that the single quote marks are not left out. If you want to include an apostrophe in your text e.g. “Lucy's Store”, you will need to put an escape character before the apostrophe, i.e. “Lucy\'s Store”.
Save the edited file to includes/languages/ENGLISH/CUSTOM/index.php and upload it to your server.
Legend:
CAPITALIZED words refer to a folder or language that you choose. We use CUSTOM for your template and ENGLISH for your language by default. These generic terms should be changed to  the name of the  template/language you are using.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How can I find out what version of Zen Cart or PHP or MySQL I'm using?

To find out what version of Zen Cart or PHP or MySQL you are currently using, you can simply go...

Getting a BLANK PAGE? Here's the answer ...

If you're getting a blank page when trying to browse to a certain page on your store, or after...

What's New in the Upcoming v2.0 release?

Database Abstraction Layer and Sql CacheThe abstraction layer has been re-factored to include a...

Image Preparation - How-to

I've seen several posts where people obviously aren't quite sure about the best way to set up...

Some tips to modify stylesheet

1. Download Web Developer extension for FireFox here2. Install & restart FireFox. You should...