Forums / General Questions / No phone number field in customer details

No phone number field in customer details

Views: 789

Results 1 to 5 of 5
1 Sep 2011, 5:05 AM
#1
brisa avatar

brisa

New Zenner

Join Date:
Sep 2011
Posts:
3
Plugin Contributions:
0

No phone number field in customer details

Hope someone can help!!
Have recently installed ZC v1.3.9h. I am using the barebones template and installed ceon manual card. All works very well but I cannot collect customer phone numbers. There is no phone number field showing in the 'Customer Details' area or 'Checkout'. However, if I log in as a customer and go to 'My Account' there is a phone number field shown as compulsory in 'change my account information'. This works fine and shows up in the database. I have checked -
includes/templates/templatedefault/templates/tpl_modules_create_account.php includes/templates/YOURTEMPLATE/templates/tpl_modules_create_account.php
They are normal.
It's driving me mad!:frusty:

1 Sep 2011, 6:39 AM
#2
ronlee67 avatar

ronlee67

Totally Zenned

Join Date:
Sep 2006
Location:
Colorado Springs CO USA
Posts:
519
Plugin Contributions:
0

Re: No phone number field in customer details

Any chance you are using the Classic template? Check in admin under tools-> template selection. The default is Classic Contemporary Green.

If so, check includes/templates/classic/templates/tpl_modules_create_account.php

www.aspenshopsonline.com - ZenCart 1.3.9h
www.wilkssupply.com - ZenCart 1.3.9h
www.un-du.net - ZenCart 1.3.8a

1 Sep 2011, 6:53 AM
#3
ronlee67 avatar

ronlee67

Totally Zenned

Join Date:
Sep 2006
Location:
Colorado Springs CO USA
Posts:
519
Plugin Contributions:
0

Re: No phone number field in customer details

Any chance you are using the Classic template? Check in admin under tools-> template selection. The default is Classic Contemporary Green.

If so, do you have this code in /includes/templates/classic/templates/tpl_modules_create_account.php around line 118-121?

 
<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>': ''); ?>

www.aspenshopsonline.com - ZenCart 1.3.9h
www.wilkssupply.com - ZenCart 1.3.9h
www.un-du.net - ZenCart 1.3.8a

1 Sep 2011, 10:36 AM
#4
brisa avatar

brisa

New Zenner

Join Date:
Sep 2011
Posts:
3
Plugin Contributions:
0

Re: No phone number field in customer details

Thanks for the fast response but may not be applicable. I'm using a template called Barebones not Classic. However, I have checked with the Classic template installed and I do get the same problem. Hmmm I'll have a look at the files.
Thanks.

2 Sep 2011, 12:01 AM
#5
brisa avatar

brisa

New Zenner

Join Date:
Sep 2011
Posts:
3
Plugin Contributions:
0

Re: No phone number field in customer details

Hi, thanks for the reply.
I have checked my folder/file structure and this file 'tpl_create_account.php' is located in includes/templates/template_default/templates. I have checked 'tpl_create_account.php' and it is complete.
The 'Classic' folder only contains a 'CSS' folder and an 'Images' folder. This is the same for the 'Barebones' template.
I notice that on the Zen Cart Wiki the description of the 'Customer Details' contents does not have a Telephone field. It is identical to my Customer Details which also has no telephone field.
Everything is working perfectly except for this gltch. I really need the phone number as we run classes and it is often necessary to contact students by phone to reschedule classes.