Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Telelphone non-mandatory


ryangus

Recommended Posts

Looked around quite a bit, but can't seem to find a way to simply make this field non-mandatory. I can't understand why the Admin panel doesn't have the option to change ALL customer fields requiremenst to their liking?

 

Any ideas?

Link to comment
Share on other sites

Looked around quite a bit, but can't seem to find a way to simply make this field non-mandatory.  I can't understand why the Admin panel doesn't have the option to change ALL customer fields requiremenst to their liking?

 

Any ideas?

 

 

Hi!

 

Go into www.yoursite.com/admin and select My Store and then click on the link for Minimum Values. Select the telephone number field and empty it. Meaning....leave it blank and save it. That will disable the telephone field as being required.

 

If you'd like to go a step further and remove the red asterisk next to that field that indicates it's a requirement and must be filled out.....go into catalog/includes/languages/english.php and scroll down near the bottom and look for a line that reads like this:

 

define('ENTRY_TELEPHONE_NUMBER_TEXT', '*');

 

Delete the asterisk you see there, and you're done!

 

Andrea

Link to comment
Share on other sites

  • 2 weeks later...
Yes, thanks for that  :thumbsup:

 

Hi guys,

 

I left the telephone field blank as advised in this thread, but now I get an error in the bottom left of the window for create_account.php where I should see the IE logo with "Done". https://www.factorygolfstore.com/create_account.php

 

I tried changing to "0" instead of blank, but didn't work. Anyone manage to remove that error from the screen. I'd feel reluctant to fill in details on a site with errors - doesn't inspire confidence :blink:

 

G

Link to comment
Share on other sites

Hi guys,

 

I left the telephone field blank as advised in this thread, but now I get an error in the bottom left of the window for create_account.php where I should see the IE logo with "Done".  https://www.factorygolfstore.com/create_account.php

 

I tried changing to "0" instead of blank, but didn't work.  Anyone manage to remove that error from the screen.  I'd feel reluctant to fill in details on a site with errors - doesn't inspire confidence :blink:

 

G

 

Ignore previous. Found an answer in the Forums from user nesincq:

http://www.oscommerce.com/forums/index.php?showtopic=97036&hl=

 

basically fixes form_check.js.php which causes the problem if minimum chars field set to 0.

 

:lol:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...