adam71o Posted February 16, 2005 Share Posted February 16, 2005 I have B2BSuite installed. When my customers sign up for an account, I get an email saying: ========================== "A new customer has joined your site" ========================== I would like for this email to say: ========================== "A new customer has joined your site" CustomerFirstName CustomerLastName CustomerEmail CustomerPhone ========================== I THINK the file to change is create_account.php and I believe I have the section isolated: // admin email notification $admin_email_text .= ADMIN_EMAIL_TEXT; tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, nl2br($admin_email_text), $name, $email_address, ''); tep_redirect(tep_href_link(FILENAME_CREATE_ACCOUNT_SUCCESS, '', 'SSL')); Basically, I THINK I can just add something equalling output $firstname, " " $lastname, " "<br> $email_address, <br> $phone<br> ----I KNOW THATS NOT REAL CODE, this is just an example of what I THINK can be done :( If I knew php, this would probably be simple. But I don't. Quote Link to comment Share on other sites More sharing options...
Jan Zonjee Posted February 16, 2005 Share Posted February 16, 2005 What about: // admin email notification ? ?$admin_email_text .= ADMIN_EMAIL_TEXT; $admin_email_text .= "\n\n" . $firstname . " " . $lastname . "\n\n" . $email_address ."\n\n" . $telephone . " "; ? ?tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, nl2br($admin_email_text), $name, $email_address, ''); ? Quote Link to comment Share on other sites More sharing options...
adam71o Posted February 16, 2005 Author Share Posted February 16, 2005 (edited) Well, JanZ, you have successfully answered my question. It now works! Thank you SOOOOOOOOOOO much. This little tidbit of knowledge will help me a whole lot in the future, as I often make small changes like this. Thanks again, you are amazing. Edited February 16, 2005 by adam71o Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.