Notification of customer registration

Is there some way an admin can be notified (by email) when a customer registers on the site?

[font=“Arial, Helvetica, sans-serif”][color=“#555555”][size=3]Have tried to add the code that CS gave me for this to the post but wont save??? Ill try again later.[/size][/color][/font]



[font=“Arial, Helvetica, sans-serif”][color=“#555555”][size=3]John[/size][/color][/font]

I can try to can get it to work. If you can send the code, and tell me what page(s) they want you to edit.

Create the register.tpl file in the skins/[CUSTOMER_ACTIVE_SKIN]/mail/profiles directory of your CS-Cart installation (where [CUSTOMER_ACTIVE_SKIN] is an active skin of your storefront) with the following content:

{* $Id$ *}

{include file="letter_header.tpl"}

{$lang.hello},

{assign var="_url" value="profiles.update?user_id=`$user_data.user_id`"|fn_url:'A':'https':'&'}
{if $settings.General.use_email_as_login == "Y"}
{assign var="user_login" value=$user_data.email}
{else}
{assign var="user_login" value=$user_data.user_login}
{/if}
{$lang.text_new_user_added|replace:"[user_login]":$user_login}

{include file="letter_footer.tpl" user_type='A'}




2) Create the register_subj.tpl file in the skins/[CUSTOMER_ACTIVE_SKIN]/mail/profiles directory of your CS-Cart installation (where [CUSTOMER_ACTIVE_SKIN] is an active skin of your storefront) with the following content:

{* $Id$ *}

{$settings.Company.company_name|unescape}: {$lang.new_user_profile}

3) Add the following part of the code:
fn_send_mail(Registry::get('settings.Company.company_users_department'), Registry::get('settings.Company.company_users_department'), 'profiles/register_subj.tpl', 'profiles/register.tpl', '', Registry::get('settings.Appearance.admin_default_language'), $user_data['email']);


below this one:

// Notify administrator about new profile
fn_send_mail(Registry::get('settings.Company.company_users_department'), Registry::get('settings.Company.company_users_department'), 'profiles/activate_profile_subj.tpl', 'profiles/activate_profile.tpl', '', Registry::get('settings.Appearance.admin_default_language'), $user_data['email']);

$skip_auth = true;
} else {


in the fn.users.php file located in the core directory of your CS-Cart installation.



4) In the administration panel, go to Administration > Languages.

5) Click the Add Language Variable button.

6) In the opened window, enter text_new_user_added into the Language Variable field and enter The profile owned by “[user_login]” has been newly created into the Value text area.

7) Click the Create button

Will this work for affiliates that register or only for users? Thank you.

Not sure, give it a try and backup the files first so you can replace them if it doesnt

John