Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How can I disable the date fo birth request when creating


storm

Recommended Posts

try:

 

admin panel

configuration

customer details

 

where did you look already ?

 

I was actually going to try and change the way it ask for the DOB mm/dd/yyyy, I wanted it to be dd/mm/yyyy, I made some changes but can't find the paper I wrote the instructions on - and we now have clients opening new accounts and an error explaining that the DOB has been put in the wrong way, although the client is entering dd/mm/yyy when they do that, the error say you must put it in dd/mm/yyyy and as they aready are I am presuming I have altered something I perhaps shouldn't of, or even not altered something I should have, so I thought if I disable the need for a DOB it would be safer.

I would at sometime in the near future like to correct the situation so the DOB can be put in dd/mm/yyyy.

Link to comment
Share on other sites

I was actually going to try and change the way it ask for the DOB mm/dd/yyyy, I wanted it to be dd/mm/yyyy, I made some changes but can't find the paper I wrote the instructions on - and we now have clients opening new accounts and an error explaining that the DOB has been put in the wrong way, although the client is entering dd/mm/yyy when they do that, the error say you must put it in dd/mm/yyyy and as they aready are I am presuming I have altered something I perhaps shouldn't of, or even not altered something I should have, so I thought if I disable the need for a DOB it would be safer.

I would at sometime in the near future like to correct the situation so the DOB can be put in dd/mm/yyyy.

 

 

Hi in includes/languages/english.php file

 

at present

 

define('DATE_FORMAT', 'm/d/Y'); // this is used for date()

 

this code is there

 

for your requirement try this

 

define('DATE_FORMAT', 'd/m/Y'); // this is used for date()

Hard Work Is The Simplest Way Of Success

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...