Forums / Templates, Stylesheets, Page Layout / getting rid of City and Zip Code

getting rid of City and Zip Code

Locked

Views: 3,352

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
11 May 2006, 9:03 PM
#1
eatmyswan avatar

eatmyswan

New Zenner

Join Date:
May 2006
Posts:
3
Plugin Contributions:
0

getting rid of City and Zip Code

Hey Zen Cart Masters,

I will be using my site to do local deliveries for dorms around my college campus. So the zip code, city , and state fields are really unneccessary. Is there any way i can get rid of them? Or automatically put in default values for these fields?

Thanks

13 May 2006, 12:23 AM
#2
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: getting rid of City and Zip Code

I'd like to know this too :D I know how to get rid of the fields themselves, but now when I try to create an account, it's giving red error messages at the top because those fields are required, I need to know how to make them not required.

Thanks!

Danielle

13 May 2006, 6:20 AM
#3
eatmyswan avatar

eatmyswan

New Zenner

Join Date:
May 2006
Posts:
3
Plugin Contributions:
0

Re: getting rid of City and Zip Code

How did you get rid of the fields? I know by setting the minimum values under admin to zero or nothing may get rid of the requirements.

13 May 2006, 4:37 PM
#4
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: getting rid of City and Zip Code

To get rid of the fields you just need to delete any related code from tpl_login_default.php and tpl_create_account_default.php.

Danielle

13 May 2006, 8:29 PM
#5
scrat avatar

scrat

Zen Follower

Join Date:
Dec 2005
Posts:
451
Plugin Contributions:
0

Re: getting rid of City and Zip Code

Have a look at jscript_form_check.php in the folder

includes/modules/pages/create_account/jscript_form_check.php

This looks as if it is a javascript to check the table fields, haven't done this myself but give it a go?