There are two files to update about customer information ...
The first is the Customer Info in:
/includes/modules/pages/account_edit/header_php.php
Find the line:
Code:
$db->perform(TABLE_ADDRESS_BOOK, $sql_data_array, 'update', $where_clause);
and change to read:
Code:
$db->perform(TABLE_ADDRESS_BOOK, $sql_data_array, 'update', $where_clause);
// send email when edited
zen_mail('', SEND_EXTRA_CREATE_ACCOUNT_EMAILS_TO, 'Customer Account Updates',
'Text Message about customer has updated customer info for account # ' . $_SESSION['customer_id'] . ' ' . $firstname . ' ' . $lastname, STORE_NAME, EMAIL_FROM);
The second is the Customer Address Book in:
/includes/modules/pages/address_book_process/header_php.php
Find the line:
Code:
$db->perform(TABLE_ADDRESS_BOOK, $sql_data_array, 'update', $where_clause);
and change to read:
Code:
$db->perform(TABLE_ADDRESS_BOOK, $sql_data_array, 'update', $where_clause);
// send email when edited
zen_mail('', SEND_EXTRA_CREATE_ACCOUNT_EMAILS_TO, 'Customer Account Updates',
'Text Message about customer has updated address book for account # ' . $_SESSION['customer_id'] . ' ' . $firstname . ' ' . $lastname, STORE_NAME, EMAIL_FROM);
You can change the:
SEND_EXTRA_CREATE_ACCOUNT_EMAILS_TO
to be a particular email address or use the one set up in your email settings ...
See if that helps to get you started ...
Bookmarks