Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Notify when new user...


Jonny5

Recommended Posts

backup your catalog/create_account.php

and search for

      $email_text .= EMAIL_WELCOME . EMAIL_TEXT . EMAIL_CONTACT . EMAIL_WARNING; 
     tep_mail($name, $email_address, EMAIL_SUBJECT, $email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

underneath paste

// ###########  JTC New Customer Notification 

$smemail_text .= NEW_CUSTOMER_NOTIFICATION_TEXT . ' The new customer name is ' . nl2br($name) . '.'; 

tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, NEW_CUSTOMER_NOTIFICATION_SUBJECT, nl2br($smemail_text), STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); 

// ##########  end add

 

then add in

catalog/includes/languages/english.php

define('NEW_CUSTOMER_NOTIFICATION_TEXT', 'New customer signed up');

define('NEW_CUSTOMER_NOTIFICATION_SUBJECT', 'New customer at STORENAME.');

 

by John

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...