How do I change the "Congratulations! you have successfully installed..." Message?

Removing the installation confirmation

The default Congratulations! You have successfully installed your Zen Cart; E-Commerce Solution text is rendered as an H1 tag in the site template’s HTML code. It is a perfect opportunity to provide some rich SEO text related to your store/business. It is best to put something useful here, instead of merely deleting it.

To edit this important text, do the following:

Zen Cart 1.5.8 and above:

Edit includes/languages/english/YOURTEMPLATE/lang.index.php. (Copy includes/languages/english/lang.index.php to includes/languages/english/YOURTEMPLATE/lang.index.php if the override file doesn’t already exist.)

Find the following code:

    'HEADING_TITLE' => 'Congratulations! You have successfully installed your Zen Cart® E-Commerce Solution.',

Replace the text starting “Congratulations” with your own text that is welcoming and describes your business.

Make sure that the single quote marks at the beginning and end are not left out. If your text includes single-quotes (apostrophes) be sure to add a \ before them to “escape” them for proper PHP syntax.

NOTE: There is a similar line that starts with 'HEADING_TITLE_NESTED', so be sure to replace both lines.

NOTE: Removing this item or setting it to '' is a violation of Accessibility Structure requirements.

You may also find this article helpful.

Zen Cart 1.5.7 and below:

Edit includes/languages/english/YOURTEMPLATE/index.php. (Copy includes/languages/english/index.php to includes/languages/english/YOURTEMPLATE/index.php if the override file doesn’t already exist.)

Find the following code:

  define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart® E-Commerce Solution.');

Replace the text starting “Congratulations” with your own text that is welcoming and describes your business.

Make sure that the single quote marks at the beginning and end are not left out. If your text includes single-quotes (apostrophes) be sure to add a \ before them to “escape” them for proper PHP syntax.

NOTE: This line occurs twice, so be sure to replace both lines.

NOTE: Removing this item or setting it to '' is a violation of Accessibility Structure requirements.




Still have questions? Use the Search box in the upper right, or try the full list of FAQs. If you can't find it there, head over to the Zen Cart support forum and ask there in the appropriate subforum. In your post, please include your Zen Cart and PHP versions, and a link to your site.

Is there an error or omission on this page? Please post to General Questions on the support forum. Or, if you'd like to open a pull request, just review the guidelines and get started. You can even PR right here.
Last modified April 7, 2024 by Scott Wilson (dafd19d2).