Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Changing description of shipping method

Changing description of shipping method

Locked

Views: 1,152

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
30 Jan 2009, 8:33 PM
#1
wrongdave avatar

wrongdave

New Zenner

Join Date:
Jan 2009
Posts:
7
Plugin Contributions:
0

Changing description of shipping method

I'm setting up a new Zen Cart install (current version, no mods) and am planning on using the Zone Rate shipping module (zones.php) but want to change the description that is presented to the customer (I want to set up one version for "Expedited" and another for "Regular"). Currently it says "Zone Rates" and I expected to find that string in the zones.php file somewhere, but came up empty.
Where does this exist?

30 Jan 2009, 8:39 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Changing description of shipping method

Over the next several years... as your webshop becomes more and more successful :smile: , you will want to know how to make lots of changes.

To look for CONSTANTS (or other PHP components) in ZC, use the developer tool kit facility in:

ADMIN>>>TOOLS>>>DEVELOPER TOOL KIT.

I generally use the very last input field, because it's the easiest to search for "everything".

Type into that field the "text string" or "constant" you wish to find, then select what area of your php files you'd like to search, then click the button.

This will yield a set of results of all the files where your string appears. Using common sense, choose the file that needs editing.

You would do well to learn about ZC's over-ride system for templates, before you edit and save core files.

30 Jan 2009, 9:54 PM
#3
wrongdave avatar

wrongdave

New Zenner

Join Date:
Jan 2009
Posts:
7
Plugin Contributions:
0

Re: Changing description of shipping method

Thanks. That worked.
Actually I had already tried searching using the Developer Toolkit and must have either done something wrong or I just didn't notice the single result way at the top of the page (I guess I expected the results within the body of the page somewhere). I also used Windows search on all the source files (on my desktop) and it came back empty. Now that I know it exists, I guess I need to figure out why windows search couldn't find it.

Anyway, thanks again.
If anyone else is looking for the answer to this, there is another zones.php file located in includes/languages/english/modules/shipping/ that stores this info.