Non-SQL version.
This edit cleans up the instructions and spelling and adds city and state fields. It also rolls up English, Portuguese, and Slovak language changes into one download.
No download required for English-only; the text below is the full mod. All credit to the original author(s).
Michael Slusher
http://www.cheesyflix.com
++++++++++++++++++++++++++++++++
1. Backup these files:
++++++++++++++++++++++++++++++++
/catalog/create_account.php
/catalog/includes/languages/english/create_account.php
/catalog/includes/languages/(any other languages)/create_account.php
++++++++++++++++++++++++++++++++
2. EDIT: /catalog/create_account.php
++++++++++++++++++++++++++++++++
AROUND line 270, FIND:
tep_mail($name, $email_address, EMAIL_SUBJECT, $email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
REPLACE it with the following:
tep_mail($name, $email_address, EMAIL_SUBJECT, $email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
// Email Admin About New Customer - Start
$new_costumer_email_to_admin = ADMIN_EMAIL_WELCOME ."nn"
. ADMIN_EMAIL_TEXT ."n"
. "===================================================n"
. ADMIN_EMAIL_FIRSTNAME . $firstname . "n"
. ADMIN_EMAIL_LASTNAME . $lastname . "n"
. ADMIN_EMAIL_EMAIL . $email_address . "n"
. ADMIN_EMAIL_TELEPHONE . $telephone . "n"
. ADMIN_EMAIL_COMPANY . $company . "n"
. ADMIN_EMAIL_FAX . $fax . "n"
. ADMIN_EMAIL_STREET_ADDRESS . $street_address . "n"
. ADMIN_EMAIL_CITY . $city . "n"
. ADMIN_EMAIL_STATE . $state . "n"
. ADMIN_EMAIL_POSTCODE . $postcode . "n"
. ADMIN_EMAIL_COUNTRY . $country . "n";
tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT2, $new_costumer_email_to_admin, $name, $email_address);
// Email Admin About New Customer - Start
++++++++++++++++++++++++++++++++
2. EDIT: /catalog/includes/languages/english/create_account.php
++++++++++++++++++++++++++++++++
Add the following anywhere before the closing "?>" :
// Email Admin About New Customer - Start
define('ADMIN_EMAIL_WELCOME', 'Hello!');
define('ADMIN_EMAIL_TEXT', 'A new customer has registered:');
define('ADMIN_EMAIL_FIRSTNAME', 'First Name: ');
define('ADMIN_EMAIL_LASTNAME', 'Last Name: ');
define('ADMIN_EMAIL_EMAIL', 'E-mail: ');
define('ADMIN_EMAIL_TELEPHONE', 'Phone: ');
define('ADMIN_EMAIL_COMPANY', 'Company: ');
define('ADMIN_EMAIL_FAX', 'Fax: ');
define('ADMIN_EMAIL_STREET_ADDRESS', 'Address: ');
define('ADMIN_EMAIL_CITY', 'City: ');
define('ADMIN_EMAIL_STATE', 'State: ');
define('ADMIN_EMAIL_POSTCODE', 'ZIP Code: ');
define('ADMIN_EMAIL_COUNTRY', 'Country Code: ');
define('EMAIL_SUBJECT2', 'New client: ' . STORE_NAME);
// Email Admin About New Customer - Start
++++++++++++++++++++++++++++++++
3. Test it! You're done!
++++++++++++++++++++++++++++++++