ZenCart Change Congratulations

From SWCP Support Wiki
Revision as of 14:24, 5 May 2009 by Jamii (talk | contribs) (New page: On installation you will see "Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution." on your home page. This is almost certainly something you'll want to ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

On installation you will see "Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution." on your home page. This is almost certainly something you'll want to change. Copy the file includes/languages/english/index.php to your languages template directory includes/languages/english/CUSTOM/, where CUSTOM is the name of your template. Then edit this file looking for two instances of the definition of HEADER_TITLE. Replace the text with the message you'd like to see on your home page. This can, of course to the empty string .

The following is an example of what you'll find in the index.php file:

 define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.');
 } elseif ($category_depth == 'nested') {
   define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.'); 
 }

Replace the text starting Congratulations with your own text. Make sure that the single quote marks are not left out, save the file and upload to your server.