Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / customer details fields

customer details fields

Locked

Views: 698

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
3 Aug 2010, 8:38 AM
#1
darksaviour69 avatar

darksaviour69

New Zenner

Join Date:
Aug 2010
Posts:
3
Plugin Contributions:
0

customer details fields

I trying to modify the feilds for customer details, someone else was working on the site and removed the city text fields but left the box.

[IMG]http://img69.imageshack.us/img69/3406/address.jpg[/IMG]

Uploaded with ImageShack.us****

The box still has city validation on it

I just want to put the City text back in. I'm sure its somewhere in a languages or template folder but can't find the file. If someone could point me in the right direcetion that would be great thanks.

3 Aug 2010, 9:45 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: customer details fields

Probably in includes/english/YOUR_TEMPLATE/english.php:

Line #225 : define('ENTRY_CITY', 'City:');

3 Aug 2010, 9:56 AM
#3
darksaviour69 avatar

darksaviour69

New Zenner

Join Date:
Aug 2010
Posts:
3
Plugin Contributions:
0

Re: customer details fields

stevesh:

Probably in includes/english/YOUR_TEMPLATE/english.php:

Line #225 : define('ENTRY_CITY', 'City:');

Thanks for the reply

That was the first place i looked

it was
Line #226 : define('ENTRY_CITY', 'Address line 3:');

with i changed to

Line #226 : define('ENTRY_CITY', 'City:');

Still comming up blank.

3 Aug 2010, 10:18 AM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: customer details fields

Line numbers can be a pain. In Notepad ++ it's line 226.

In a stock Zencart installation, it looks like this in includes/languages/english.php:

define('ENTRY_CITY', 'City:');

I changed that to define('ENTRY_CITY', 'Test:');

and saved it to includes/languages/MY_TEMPLATE and it showed up as expected.

3 Aug 2010, 10:34 AM
#5
darksaviour69 avatar

darksaviour69

New Zenner

Join Date:
Aug 2010
Posts:
3
Plugin Contributions:
0

Re: customer details fields

Thanks finally fugured it out. I thought the other guy had just changed includes/languages/english.php, so when i changed it back I was confused why it was not working. It turns out he changed both tyhe includes/languages/english.php and includes/languages/MY_TEMPLATE/english.php (which was over riding the original) only that MY_TEMPLATE what called jsweb so i thought it was a folder for javascript pretty much the only place I did not look.

I'm only new to Zen-Cart (but not CMS), looks like i nice peice of kit. Looking forward to asking more stupid questions in the future ;)

Thanks the help stevesh