Can I turn off or remove the requirement for the customer's telephone number in the account creation? My products are all virtual and I really don't have a need for the number.
Thanks!
Can I turn off or remove the requirement for the customer's telephone number in the account creation? My products are all virtual and I really don't have a need for the number.
Thanks!
Last edited by haredo; 22 Apr 2008 at 06:51 PM.
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting
Just an update:
If you want to totally remove the Telephone & Fax Lines from the Customer Registration:
includes/ templates/ your_custom_template/ template/ tpl_modules_create_account.php
Find the following:
Just copy and delete the code from the .php filePHP 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>': ''); ?>
<?php
if (ACCOUNT_FAX_NUMBER == 'true') {
?>
<br class="clearBoth" />
<label class="inputLabel" for="fax"><?php echo ENTRY_FAX_NUMBER; ?></label>
<?php echo zen_draw_input_field('fax', '', 'id="fax"') . (zen_not_null(ENTRY_FAX_NUMBER_TEXT) ? '<span class="alert">' . ENTRY_FAX_NUMBER_TEXT . '</span>': ''); ?>
<?php
}
?>
</fieldset>
- Save
- ftp back up on the server
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting
Thank you so much!
It worked perfectly!![]()
You are most welcome, Glad I could assist you..
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting
Hello,
Haredo I implemented this mod a while back and then a few months ago came across this problem.. any ideas on how to fix this?
I'm using Zen Cart v1.3.9c
Thanks.
Last edited by gaffettape; 29 May 2010 at 11:50 PM.
Try this mod
http://www.zen-cart.com/index.php?ma...roducts_id=495
tested and works on 1.3.9
Frank18, that mod looks great, and I want to try it, but I have an english.php file in includes/languages/CUSTOM directory, that I think was installed by a different mod, but I'm not sure.
What to do, what to do. Suppose I'll have to compare the two english.php files line-by-line and merge the differences. Darn.
Great mod, but I've decided not to use this mod for a couple of reasons.
1. There are too many improvements since 2006 (when these files were released) in the two create_account files. I don't want to overwrite the newer/better create_account files with these older files.
2. The custom english.php is only used to remove the asterisk and store a custom copy of the english.php instead of altering Zen Cart's native english.php. Since I only really want to remove the asterisk (after setting minimum value to 0 or blank), I can do that with one very simple code edit in my current, 2010, custom english.php.
This mod is cool, but I don't need to remove the Telephone field entirely from the Create Account page, and the old 2006 create_account files are outdated, at least in terms of code improvement/refinement since then. However, the guts of this mod could still be used (econcepts code in both create_account files) w/ Zen Cart's newer create_account files, to have the best of both worlds.
Jim
I really went and did it this time!
Just kidding.
Anyone know how to do the uninstall jazz for the admin panel so that showing/hiding Telephone Number won't be a choice in Customer Details? I got rid of the custom create_account files that I had installed with the mod, so no need now to have this dead option in Admin Customer Details.
Thanks..