Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

birthdate in create_account.php


itsupport1

Recommended Posts

when i enter the webshop to create a new account i need to place birth date.

Where to go and change that option?

 

I altso want to change from Company Details to Company / Private person - Enter name:

 

Thanx for ur help so far :)

 

Will change this in my norvegian language file as well, but need to know what file to edit then, since its not in create_account.php ???

thats just the php file the page shows when i enter to add new account.

 

my norwegian create_account.php look like this:

 

define('NAVBAR_TITLE', 'Opprett konto');

 

define('HEADING_TITLE', 'Kontoinformasjon');

 

define('TEXT_ORIGIN_LOGIN', '<font color="#FF0000"><small><b>NB:</b></font></small> Hvis du allerede har en konto hos oss, kan du logge inn på <a href="' . tep_href_link(FILENAME_LOGIN, 'origin=checkout_address&connection=' . $HTTP_GET_VARS['connection'], 'NONSSL') . '"><u>login siden</u></a>.');

 

define('EMAIL_SUBJECT', 'Velkommen til ' . STORE_NAME);

define('EMAIL_GREET_MR', 'Kjære %s,' . "\n\n");

define('EMAIL_GREET_MS', 'Kjære %s,' . "\n\n");

define('EMAIL_GREET_NONE', 'Kjære %s' . "\n\n");

define('EMAIL_WELCOME', 'Vi er glade for at kunne ønske deg velkommen som kunde her hos <b>' . STORE_NAME . '</b>.' . "\n\n");

define('EMAIL_TEXT', 'Du kan nå gjøre nytte av de <b>forskjellige produkter</b> vi kan tilby deg. Noen av disse produktene omfatter:' . "\n\n" . '<li><b>Permanent handlekurv</b> - alle produkter du legger i din handlekurv blir der, til du sletter dem, eller fullfører en bestilling.' . "\n" . '<li><b>Adressebok</b> - Vi sender gjerne dine bestillinger til en annen adresse! Det er da enkelt, å få produktene levert til andre steder enn i hjemmet.' . "\n" . '<li><b>Tidligere ordre</b> - Se hva du tidligere har handlet hos oss.' . "\n" . '<li><b>Produktomtaler</b> - Del dine meninger om våre produkter med andre kunder.' . "\n\n");

define('EMAIL_CONTACT', 'Har du bruk for hjelp til vår online service, eller andre spørsmål, send da en epost til: ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n\n");

define('EMAIL_WARNING', '<b>NB:</b> Denne epostadressen ble gitt oss, av en av våre kunder. Hvis du ikke har valgt å opprette konto hos oss, vennligst send en epost til ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n\n" . 'Med vennlig hilsen' . "\n\n" . STORE_NAME . "\n");

?>

 

where can the birthdate stuff be?

 

Thx, itsupport1

Link to comment
Share on other sites

I don't understand what you're trying to do with the birthdate part...but if you want to change the wording onscreen during Create Account from Company Details to Company/Private Person...you do that by visiting catalog > includes > yourlanguage.php find the line that reads as this:

 

define('CATEGORY_COMPANY', 'Company Details');

 

Simply change that line to read as:

 

define('CATEGORY_COMPANY', 'Company/Private Person');

 

What are you trying to do with the birthday stuff? Delete it? Change it?

Link to comment
Share on other sites

Just wanted to edit the define('ENTRY_DATE_OF_BIRTH_TEXT', '(f.eks. month/day/year)');

 

In my norvegian file it said day/month/year.

 

And that would be pretty wrong when the shop is made in english month/day/year, wouldnt work with day/month/year then :)

 

Thx anyway...

 

Fixed :)

Link to comment
Share on other sites

  • 4 months later...
I don't understand what you're trying to do with the birthdate part...but if you want to change the wording onscreen during Create Account from Company Details to Company/Private Person...you do that by visiting catalog > includes > yourlanguage.php find the line that reads as this:

 

define('CATEGORY_COMPANY', 'Company Details');

 

Simply change that line to read as:

 

define('CATEGORY_COMPANY', 'Company/Private Person');

 

What are you trying to do with the birthday stuff? Delete it? Change it?

hi, puggy. I am having same problem as the Norwegian post - want to be truly English & NOT yank english. Hence dob format & date format should be dd/mm/yyyy, & have altered tep_date_format in .../english.php (so that it IS .../english.php & not .../overthepond_english.php), yet continue to get an error in the date format when entering dob.

think it must be issue in create_account.php . . .

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...