Difference between revisions of "How to Change Text"

From Phoenix Cart User Guide
Line 2: Line 2:
 
<span class="btn-grey" style="color:#0088dd;">'''&#x1F809; [[FAQS TIPS & TRICKS]]'''</span>
 
<span class="btn-grey" style="color:#0088dd;">'''&#x1F809; [[FAQS TIPS & TRICKS]]'''</span>
 
<hr>
 
<hr>
You can change any text in a language file - see <big>'''[[Change Language Files]]'''</big>.
+
You can change any text in a language file in admin '''Tools → Define Languages''' - see <big>'''[[Change Language Files]]'''</big>.
  
 
Sometimes it can be difficult to find which language file contains the text.
 
Sometimes it can be difficult to find which language file contains the text.
Line 13: Line 13:
  
 
*Go to the Github repository for CE Phoenix.
 
*Go to the Github repository for CE Phoenix.
 +
 +
 
<div class="mainpage_box">
 
<div class="mainpage_box">
 
[[File:githubSearch.jpg]]
 
[[File:githubSearch.jpg]]
 
</div>
 
</div>
 +
 +
 
*Enter the search term in the input box (top left) - enclose the text in double quotes.
 
*Enter the search term in the input box (top left) - enclose the text in double quotes.
 
*For this example enter, '''"We welcome"'''
 
*For this example enter, '''"We welcome"'''
 
*Click '''In this repository''' in the drop down menu.
 
*Click '''In this repository''' in the drop down menu.
 
*The search results will show this:
 
*The search results will show this:
 +
 +
 
<div class="mainpage_box">
 
<div class="mainpage_box">
 
[[File:githubSearchResult.jpg]]
 
[[File:githubSearchResult.jpg]]
 
</div>
 
</div>
*Find the language file in the admin Tools Define Languages list.
+
 
 +
 
 +
*Find the language file in admin '''Tools Define Languages''' list - in this example the file is '''includes/languages/english/modules/notifications/n_create_account.php'''.
 
*Click to open, make changes to the text, click Save - done.
 
*Click to open, make changes to the text, click Save - done.
  

Revision as of 08:00, 4 September 2020

<historylink type="back">🠈 Back</historylink> 🠉 FAQS 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 at Github where the repository for the code for CE Phoenix is stored.

For our example: How to change Welcome email text.

After completing a test purchase, it can be seen that an email is sent to the customer that starts with the text, We welcome

  • Go to the Github repository for CE Phoenix.


GithubSearch.jpg


  • Enter the search term in the input box (top left) - enclose the text in double quotes.
  • For this example enter, "We welcome"
  • Click In this repository in the drop down menu.
  • The search results will show this:


GithubSearchResult.jpg


  • Find the language file in admin Tools → Define Languages list - in this example the file is includes/languages/english/modules/notifications/n_create_account.php.
  • Click to open, make changes to the text, click Save - done.



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