Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HOW TO DISABLE PHONE INFO?


grafixmatt

Recommended Posts

Posted
Anyone know how to turn off the phone number as a required field?

 

Greatly appreciated -

 

Matthew

 

 

Are you looking to disable it when checking out without an account or when creating an account??

Posted
Are you looking to disable it when checking out without an account or when creating an account??

 

Creating an account. Would be ideal to turn it off through the backoffice if possible.

 

Thank you!

Posted
Anyone know how to turn off the phone number as a required field?

 

Greatly appreciated -

 

Matthew

 

 

Ok...

 

in catalog/includes/languages/english.php

 

find the following text

 

define('ENTRY_TELEPHONE_NUMBER', 'Telephone Number:');

define('ENTRY_TELEPHONE_NUMBER_ERROR', 'Your Telephone Number must contain a minimum of ' . ENTRY_TELEPHONE_MIN_LENGTH . ' characters.');

define('ENTRY_TELEPHONE_NUMBER_TEXT', '*');

 

 

removed the * in the last line so it looks like

 

define('ENTRY_TELEPHONE_NUMBER', 'Telephone Number:');

define('ENTRY_TELEPHONE_NUMBER_ERROR', 'Your Telephone Number must contain a minimum of ' . ENTRY_TELEPHONE_MIN_LENGTH . ' characters.');

define('ENTRY_TELEPHONE_NUMBER_TEXT', '');

 

 

 

also under configuration in your admin section

 

go to minimum values

find the one for the telephone number and set the minimum to zero

 

I already tried it to make sure it works and worked when checking out without any account.

 

Hope that helps

Posted
Ok...

 

in catalog/includes/languages/english.php

 

find the following text

 

define('ENTRY_TELEPHONE_NUMBER', 'Telephone Number:');

define('ENTRY_TELEPHONE_NUMBER_ERROR', 'Your Telephone Number must contain a minimum of ' . ENTRY_TELEPHONE_MIN_LENGTH . ' characters.');

define('ENTRY_TELEPHONE_NUMBER_TEXT', '*');

removed the * in the last line so it looks like

 

define('ENTRY_TELEPHONE_NUMBER', 'Telephone Number:');

define('ENTRY_TELEPHONE_NUMBER_ERROR', 'Your Telephone Number must contain a minimum of ' . ENTRY_TELEPHONE_MIN_LENGTH . ' characters.');

define('ENTRY_TELEPHONE_NUMBER_TEXT', '');

also under configuration in your admin section

 

go to minimum values

find the one for the telephone number and set the minimum to zero

 

I already tried it to make sure it works and worked when checking out without any account.

 

Hope that helps

 

 

Thank you so much! Its for my first osc website in the feedback forum...

 

my client's website

Posted
Thank you so much! Its for my first osc website in the feedback forum...

 

my client's website

 

 

It is a very nice site. If you don't mind a suggestion though. I don't care for the links in brown for the email addresses in the contact us. It is hard to see. I think you would be better with something darker. Just my opinion. It is a very nice site though. Did you do this all by yourself??

Posted
It is a very nice site. If you don't mind a suggestion though. I don't care for the links in brown for the email addresses in the contact us. It is hard to see. I think you would be better with something darker. Just my opinion. It is a very nice site though. Did you do this all by yourself??

 

Great suggestion, It is difficult to represent a gold color effect over a white bg. We'll be working on a lot of other things in the coming weeks, and improving the UI and marketing.

 

I designed all of the front end layout, and my brother (ignission) did all of the backend php, mysql, etc. in just a couple of weeks. Client interaction/communication really takes a lot out of my day.

 

Thanks again for your help!

Archived

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

×
×
  • Create New...