Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

help - need to remove phone number


hpqnet

Recommended Posts

I think I got it, check me if i am wrong here.

 

Change includes/form_check.js.php to eliminate the line that checks for telephone length

 

check_input("telephone", <?php echo ENTRY_TELEPHONE_MIN_LENGTH; ?>, "<?php echo ENTRY_TELEPHONE_NUMBER_ERROR; ?>");

 

and delete it. or comment it out.

 

Next change the languages/english.php file

 

define('ENTRY_TELEPHONE_NUMBER_TEXT', '*');

 

change to

 

define('ENTRY_TELEPHONE_NUMBER_TEXT', '');

 

This is my simple work around, although I could have created another table field such as the gender is setup and change the code to check first.. but I took the short cut for now.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...