How to Change Text

From Phoenix Cart User Guide
Revision as of 16:37, 4 November 2023 by PeterRobert (talk | contribs)
Back
FAQ Tips & Tricks

You can change any text in a language file in admin Tools → Define Languages - see Change Language Files.

Sometimes it can be difficult to find which language file contains the text.

To find text in a language file, use the search facility in file editing software to search your backup folder/directory - see:- How to Back Up and Must Have Tools - or at Github where the repository for the code for CE Phoenix is stored - https://github.com/CE-PhoenixCart/PhoenixCart

For our example: How to change Welcome email text.

After registering on the website, an email is sent to the customer that starts with the text, We welcome

  • In this example, search results shows that the text is in the file - includes/languages/english/modules/notifications/n_create_account.php
  • Backup any files before making changes.
  • This language file in your backup directory could be changed and uploaded to overwrite the one on your server or the file on the server could be edited.
  • Alternatively, find the language file in admin Tools → Define Languages list - in this example the file is modules/notifications/n_create_account.php.
  • Click to open, make changes to the text - ensure you only change the text and not any code or punctuation marks that may also be part of the code.
  • Click Save.
  • Check and test the shop.


  • The override Template was introduced in v1.0.7.14 which allows copies of edited files to be saved there to prevent them be overwritten in updates.
  • So, in this example, open the file includes/languages/english/modules/notifications/n_create_account.php
  • Save a copy to templates/override/includes/languages/english/modules/notifications/
  • New folders might need to be created in the override template to create this folder structure.
  • Open, edit and save the new file templates/override/includes/languages/english/modules/notifications/n_create_account.php


See:- How to Use a Template



Phoenix Cart User Guide, like CE Phoenix Cart, is free to use but is maintained by unpaid volunteers.

Code references are licensed under a Commons Attribution-NonCommercial-ShareAlike 2.0 UK: England & Wales License.
All other content is the reserved Intellectual Property and Copyright of phoenixcart.org