Forums / General Questions / Please help me - missing field on account create

Please help me - missing field on account create

Locked

Views: 1,420

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
15 Dec 2008, 2:57 PM
#1
nj2nc06 avatar

nj2nc06

New Zenner

Join Date:
Oct 2008
Posts:
11
Plugin Contributions:
0

Please help me - missing field on account create

I've been trying to figure this out for over a month now to no avail.

The customer phone number field is totally missing from my create acct page. I purchased the code to do a 1 page check in a few months ago, and within that, I believe was a code that made the tele# field optional (I don't remember now). Anyways, that code gave me a ton of issues so eventually I totally removed it. Since then, the field for the number is just missing completely.

I've searched the forum, and didn't find any issues that were similiar to mine, but I did work backwards from those threads started for people who WANTED to remove the phone number field, and still I can't seem to locate the source of my problem.

Can someone please help me figure this out, it's causing a major headache to not be able to collect a customers phone number for their orders.

15 Dec 2008, 4:34 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Please help me - missing field on account create

Go to the Configuration ... Minimum Values ... and set:

Telephone Number
Minimum length of telephone number

If it doesn't show at all, try switching to the Classic Template to see if your template is missing something ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

15 Dec 2008, 6:28 PM
#3
nj2nc06 avatar

nj2nc06

New Zenner

Join Date:
Oct 2008
Posts:
11
Plugin Contributions:
0

Re: Please help me - missing field on account create

Thank you for replying.

I followed your directions -

  1. When I set the minimum values to 7 or 10, the field itself still doesn't show.

  2. When I temporarily switched to the default template, the Telephone number box is now showing under the additional contact field - great!

However, how do I get fix it in my template? Should I upload the original english.php file and tpl_createacct files into my template folder? If so, which ones exactly (i.e. includes) .

Again, thanks for replying - I appreciate your time.

15 Dec 2008, 6:31 PM
#4
stevesh avatar

stevesh

Black Belt

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

Re: Please help me - missing field on account create

We might be able to see something in your template's CSS if we could have a link to your site.

15 Dec 2008, 7:01 PM
#5
nj2nc06 avatar

nj2nc06

New Zenner

Join Date:
Oct 2008
Posts:
11
Plugin Contributions:
0

Re: Please help me - missing field on account create

stevesh:

We might be able to see something in your template's CSS if we could have a link to your site.

:blush: good point. Sorry about that - ohsochicboutique dot com

16 Dec 2008, 2:02 AM
#6
nj2nc06 avatar

nj2nc06

New Zenner

Join Date:
Oct 2008
Posts:
11
Plugin Contributions:
0

Re: Please help me - missing field on account create

Bumping.... :-(

16 Dec 2008, 2:26 AM
#7
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: Please help me - missing field on account create

The theme that you are using might have the phone number commented out in that case just uncomment it. If not then look at includes/templates/template_default/templates/tpl_modules_create_account.php and add the phone number code from that to your template tpl_modules_create_account.php file.

Backup your files before change.

• 446F63746F722057686F •

16 Dec 2008, 4:24 AM
#8
nj2nc06 avatar

nj2nc06

New Zenner

Join Date:
Oct 2008
Posts:
11
Plugin Contributions:
0

Re: Please help me - missing field on account create

Hi Skip - I went and uploaded a fresh tpl_modules_create_account.php into my template folder...still no dice. The field is totally blank still.

I currently have the minimum value set to 0, because again, when I set it to 7 or 10, the field itself still doesnt show up.

This is so frustrating :-(

16 Dec 2008, 4:29 AM
#9
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: Please help me - missing field on account create

You look in side tpl_modules_create_account.php and seen this code?

<fieldset>
<legend><?php echo TABLE_HEADING_PHONE_FAX_DETAILS; ?></legend>
<label class="inputLabel" for="telephone"><?php echo ENTRY_TELEPHONE_NUMBER; ?></label>
<?php echo zen_draw_input_field('telephone', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_telephone', '40') . ' id="telephone"') . (zen_not_null(ENTRY_TELEPHONE_NUMBER_TEXT) ? '<span class="alert">' . ENTRY_TELEPHONE_NUMBER_TEXT . '</span>': ''); ?>

• 446F63746F722057686F •

16 Dec 2008, 4:37 AM
#10
nj2nc06 avatar

nj2nc06

New Zenner

Join Date:
Oct 2008
Posts:
11
Plugin Contributions:
0

Re: Please help me - missing field on account create

Ugh I feel like such an IDIOT!

This whole time I was updating/checking the tpl_create_acct and not the tpl_MODULE_create_account . . . I just uploaded a fresh copy of the MODULE_create_acct and now everything is working.

Talk about end user error. Thanks for the patience folks, I appreciate it.

16 Dec 2008, 1:37 PM
#11
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: Please help me - missing field on account create

Glad you got it fixed. Its what they call the learning curve :smile:

• 446F63746F722057686F •