Difference between revisions of "How to Change Text"

From Phoenix Cart User Guide
Line 8: Line 8:
 
For our example: How to change Welcome email text.
 
For our example: How to change Welcome email text.
  
Open Visual Code Studio - click File → Open Folder to browse to your back up Phoenix folder/directory. Click Edit → Find in Files and enter the text you want to change in the search. In this case enter '''We welcome''' - this will show all files where that text occurs - in this case it shows '''create_account.php''' and it's location '''includes/languages/english''' and the code where it occurs<br><code>define('EMAIL_WELCOME', 'We welcome you to <strong>' . STORE_NAME . '</strong>.' . "\n\n");</code><br>Click on the code to open the file - make any changes - save - upload to server and done!
+
*Open Visual Code Studio.
 +
*Click File → Open Folder to browse to your back up Phoenix folder/directory.
 +
*Click Edit → Find in Files and enter the text you want to change in the search. In this case enter '''We welcome''' - this will show all files where that text occurs - in this case it shows '''create_account.php''' and it's location '''includes/languages/english''' and the code where it occurs<br><code>define('EMAIL_WELCOME', 'We welcome you to <strong>' . STORE_NAME . '</strong>.' . "\n\n");</code>
 +
*Click on the code to open the file - make any changes - save - upload to server and done!
  
  
 
[[File:VSC1.png]]
 
[[File:VSC1.png]]
 +
 +
<hr>
 +
{{Page_In_Progress}}
 +
{{Contribute}}

Revision as of 15:01, 14 October 2019

<historylink type="back">🠈 Back</historylink> 🠉 FAQS TIPS & TRICKS


You can change any text in a language file define - see Change Language Files.

To find a language file to change, use a file editor such as Visual Code Studio or Notepad++ to search your backup folder - see Visual Studio Code

For our example: How to change Welcome email text.

  • Open Visual Code Studio.
  • Click File → Open Folder to browse to your back up Phoenix folder/directory.
  • Click Edit → Find in Files and enter the text you want to change in the search. In this case enter We welcome - this will show all files where that text occurs - in this case it shows create_account.php and it's location includes/languages/english and the code where it occurs
    define('EMAIL_WELCOME', 'We welcome you to ' . STORE_NAME . '.' . "\n\n");
  • Click on the code to open the file - make any changes - save - upload to server and done!


VSC1.png


Construction.png
This page is in progress
Please visit again soon for additions and changes

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