Remove or change "Welcome Guest! Would you like to log yourself in?" in Zen Cart


A personal greeting can set the tone for your customers shopping online.  In a default installation, the customer greeting is shown as “Welcome Guest! Would you like to log yourself in? for visitors (guests) to your Zen Cart store, as shown here:

Welcome Guest! Would you like to log yourself in?

Once logged on, the greeting is personalised for the customer:

Hello Fiona! Would you like to see our newest additions?

Turn on or off the Zen Cart Customer Greeting

To set your store to Maintenance Mode:

  1. Log in to your Zen Cart store Admin.
  2. From the Configuration menu, select Layout Settings.
    Zen Cart Admin > Configuration > Layout Settings
  3. Select Customer Greeting – Show on Index Page to edit.
    Zen Cart Admin - Customer Greeting - Show on Index Page
  4. Select either 0 to turn off the greeting or 1 to turn on the greeting on the Zen Cart store home page.  Next, click the Update button to save your preference.
    Edit Customer Greeting - Show on Index Page - Zen Cart Admin 

Change the Zen cart Customer Greeting

  1. Open the index.php file located in the /includes/languages/english directory.
  2. Find this section of code:
    define('TEXT_GREETING_PERSONAL', 'Hello <span class="greetUser">%s</span>! Would you like to see our <a href="%s">newest additions</a>?');
  3. and modify the define statement as needed.  For example:
    define('TEXT_GREETING_PERSONAL', 'Hi <span class="greetUser">%s</span>, nice to see you again. Thanks for shopping with us today!');

    ** Be sure to keep the single quote marks in your new define statement.

  4. Save the modified index.php file to your override folder.  This will be /includes/languages/english/CUSTOM/ where CUSTOM represents the name of your current template folder.

This example assumes your Zen Cart default language is English.  Adjust accordingly to suit your language settings.

     
   
     

More Zen Cart:

  1. Remove or change “Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.” in Zen Cart
  2. Change title bar in browser from "Zen Cart!, The Art of E-commerce"
  3. Change name of More Information sidebox Heading in Zen Cart
  4. Change name of Page 2 Link in More Information Sidebox
  5. How do I change the unit of measure for weight in Zen Cart?
  1. No comments yet.
(will not be published)

Notify me of followup comments via e-mail. You can also subscribe without commenting.