How do I determine which files to edit?
I want to make changes to the text that shows up in xxxxxxxxx spot on xxxxxx page. How do I find out what where it is, and what file to change?
Search everything under the “includes” folder for the text you are trying to change/edit/delete.
That will show you the text inside a “define” statement much like this:
define('TEXT_GREET_USER','Welcome to my site');
This is where you’ll be making your changes. You should be sure to save the file according to the Template Overrides concept (see the Overrides Explained FAQ).
Then use this article to be sure you put your CHANGES into the right place:
IF YOU ARE desiring to modify the PHP code that “uses” the text you just located, then you need to do another search – ie: for the
TEXT_GREET_USER(constant name that you just found), and find the files that reference it.
In your post, please include your Zen Cart and PHP versions, and a link to your site.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.