I actually searched it and found an answer but it didn't work. It was by adding ''vs' to the line. I'm assuming the post was refering to an older version. Anyone have any ideas on how to take it out?
I actually searched it and found an answer but it didn't work. It was by adding ''vs' to the line. I'm assuming the post was refering to an older version. Anyone have any ideas on how to take it out?
If you set the Minimum Values to blank, not 0 ... but blank ... and edit the define for the * to '' in english.php
Then it is still there but not required ...define('ENTRY_TELEPHONE_NUMBER_TEXT', '*');
To remove it 100%, set the minimum value to blank ... then you can edit the files:
tpl_modules_create_account.php
tpl_account_edit_default.php
and anywhere else you do not wish to see the phone number ...
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!
Thanks for the tip. I understood the first two parts in setting to zero and editing the *. But the telephone field is still there in registration. So I looked up the other two TPL files and I'm not sure how to edit them.
To completely remove it from everywhere there will be quite a few edits ...
tpl_modules_create_account.php for example would need to have this section removed in your overrides file:
You may find it easier to just not make it a required file than to try to remove it totally ...PHP Code:<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>': ''); ?>
NOTE: to make it not require, leave it blank not set at 0
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!
I'm trying to make the phone number field not required, but still have it present (optional) on the account creation page. I've made the minimum value blank and removed the asterisk from the english.php file, and I thought all was well. However, upon going live this morning, a customer wrote in the following:
"Since your site is new, I wanted to let you know about a little bit of a bug
I ran into while placing my order. The phone number isn't required, but
then when I went to place the order, it errored out because it didn't have
my phone number. Then there isn't any place to put in the phone number
there, so I had to go out of the ordering screen, go into "My Account" and
add my phone and then go back and place the order again."
Any ideas? I'm on the latest release 1.3.02, and here's the url: superbuzzy.com
Thanks in advance for your help!
As a follow up to my question, I just viewed the profile for one of my customers and found that the birthdate and phone number are still listed as required in the Admin section although I set both of those values to blank in the minimum values section. Does this help point the way to a solution? I'd like both birthdate and phone number fields to be on the form, but optional. Thanks again.
Please read the first part of Ajeh's post (number 2 above). It tells you exactly how to do that.
A little help with colors.
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
Thanks, but unless I'm missing something, that's exactly what I've already done... set the minimum values to blank and removed the asterisks in the english.php file. That's why I'm posting...
Under Customer Details ...
Then edit the language file to remove the * require:Date of Birth
Display date of birth field during account creation and with account information
NOTE: Set Minimum Value Date of Birth to blank for not required
Set Minimum Value Date of Birth > 0 to require
Set the Minimum Value for Telephone to blank, not 0 then edit the language file for the require:define('ENTRY_DATE_OF_BIRTH_TEXT', '* (eg. 05/21/1970)');
Now they are on the forms but not required ...define('ENTRY_TELEPHONE_NUMBER_TEXT', '*');
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!
One question
When I go to Admin
Configuration->Customer Details
I dont see any field for telephone number
Why like that?
Tutorials on Zen Cart
http://tutorials.zen-cart.com/index.php
---------------
advanced.programmer at gmail dot com
In love with Zen Cart!!