I don't have the file YOURTEMPLATE/some-name
You’re reading the instructions for a plugin or a FAQ page or a forum post and it tells you to update
and you say, “Wait a minute - that file doesn’t exist in my cart!”
First of all, let’s review a few things:
a) The FAQ basic terms explains what YOURTEMPLATE means.
b) The concept of a default file which can be overridden.
c) The FAQ template overrides system explains what template overrides are.
So now you know
YOURTEMPLATE is an alias for the name of your template,
and you know that template override files are files that are modified
to create a custom look for your store.
So if your template is
responsive_sheffield_blue, this file would be
If you are using the built in default
this file would be
But what if the file still doesn’t exist, even if you now know the real name of the file?
Template files (the ones with
YOURTEMPLATE - the template name in their path) are all
altered copies of the default file.
How do you find the default file?
a) For files under
/includes/templates, the default file is
b) For all other files, the default file is one level above the template folder.
If the templated file being referenced doesn’t exist in your cart, you can create it by copying the original from the default file.
Installing a file
Unless you are creating these files directly on your server, you need to copy these files to your server. Use your FTP tool to connect to your server, then go to your webroot, then to the folder where the file is supposed to exist.
- Your webroot is
- Your template is
- The file you are changing is
- Using FTP, connect to
- Change directories so you get to the webroot.
- Change directories from there so that you get to the folder for the file you are changing. At this point, you will be in
- Transfer the file.
Here’s what it looks like for a live store. Click the image to make it larger if needed. As you can see, the template is
bootstrap and the webroot is
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.