New customer signup notification
jcroson <[email protected]>
| Newsgroups | gmane.comp.web.oscommerce.tips |
|---|---|
| Message-ID | <ca5c25769ef465d78df99ea5391bed55@osCommerce-Forums> |
This message was sent from: Tips and Tricks
http://forums.oscommerce.com/viewtopic.php?p=187055#187055
----------------------------------------------------------------
I racked my head trying to find something that would tell the Store Owner if a new customer signed up, so I hacked the bottom of create_account_process.php and added this:
[code]$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);
[/code]
Just add this to your catalog/includes/languages/english.php:
[code]define('NEW_CUSTOMER_NOTIFICATION_TEXT', 'Whatever you want to send yourself');
define('NEW_CUSTOMER_NOTIFICATION_SUBJECT', 'Whatever you want your subject to be.');[/code]
If there is a mod for this, or if I missed this in the admin area... :oops:
But I did look high and low.... :?
JC