theman27 Posted May 28, 2008 Posted May 28, 2008 What is the most practical way to keep the email, but have it addressed to: Dear Firstname, (instead of surname)? Besides that, is there a way to change the content and formatting for the email that the admin receives once a new user is created?
spooks Posted May 28, 2008 Posted May 28, 2008 http://www.oscommerce.info/kb/osCommerce Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
theman27 Posted May 28, 2008 Author Posted May 28, 2008 Sam, I have already looked at that documentation. It informs on how to change the wording of the email, but not the context to match what I am looking for. I have seen this as a possible solution to my first problem, but wanted to know if there were any other ways. For my second problem I have seen no documentation.
spooks Posted May 28, 2008 Posted May 28, 2008 Have you looked at all the contribs? Try this: http://addons.oscommerce.com/info/5825 Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
theman27 Posted May 28, 2008 Author Posted May 28, 2008 I will review the addons, but I am really looking for a native solution. I appreciate your help on this matter. What I really need to know is if it is possible to change the email that is sent to the administrator to include client id's, etc..
theman27 Posted May 29, 2008 Author Posted May 29, 2008 I am now able to address the email to FirstName only. Unfortunately, when I receive a new user notification, I get an exact copy of the customer email and not what is described in the contribution. Please help. Here is my code for /includes/languages/english/create_account.php : <?php /* $Id: create_account.php,v 1.11 2003/07/05 13:58:31 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.co Copyright (c) 2003 osCommerce Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Create an Account'); define('HEADING_TITLE', 'My Account Information'); define('TEXT_ORIGIN_LOGIN', '<font color="#FF0000"><small><b>NOTE:</b></font></small> If you already have an account with us, please login at the <a href="%s"><u>login page</u></a>.'); define('EMAIL_SUBJECT', 'Welcome to ' . STORE_NAME .'!'); define('EMAIL_GREET_MR', 'Dear %s,' . "\n\n"); define('EMAIL_GREET_MS', 'Dear %s,' . "\n\n"); define('EMAIL_GREET_NONE', 'Dear %s' . "\n\n"); define('EMAIL_WELCOME', 'We welcome you to <b>' . STORE_NAME . '!</b> ' . 'We hope you enjoy your shopping experience with us.'. "\n\n"); define('EMAIL_TEXT', 'If you have questions and need more information about us or our boutique, you may find the answers at <a href="http://www.mydomain.com/faq.php">FAQ</a> and <a href="http://www.mydomain.com/about_us.php">About Us</a>. In addition to offering totally authentic top designer brand clothing and accessories, our online boutique also has these special features:' . "\n\n" . '<li><b>Permanent Cart</b> - Any products added to your online cart remain there until you remove them, or check them out.' . "\n" . '<li><b>Address Book</b> - We can now deliver your products to another address other than yours! This is perfect to send birthday gifts direct to the birthday-person themselves.' . "\n" . '<li><b>Order History</b> - View your history of purchases that you have made with us.' . "\n\n"); define('EMAIL_CONTACT', 'For help with any of our online services or for other information, please contact one of our Customer Service Associates at : <a href="mailto:[email protected]">[email protected]</a> ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n\n"); define('EMAIL_WARNING', 'John X. Smith' . "\n" . 'Director' . "\n" . 'mydomain.com' . "\n" . '123 My st' . "\n" . 'My City, FL 12345' . "\n" . '(555) 555-5555' . "\n"); // Contribuion define('EMAIL_SUBJECT_OWNER', 'New User Registration: ' . STORE_NAME . '!'); define('EMAIL_NEW_CLIENT_GREETING', '<b>Hello!</b><br><br>This message is notify you of a NEW Member Account just created online!<br>Please see below for member details.' . "\n"); define('EMAIL_NEW_CLIENT_ID', 'Client ID:'); define('EMAIL_NEW_CLIENT_NAME', 'Name:'); define('EMAIL_NEW_CLIENT_MAIL', 'E-Mail:'); define('EMAIL_NEW_CLIENT_NEWSLETTER', 'Newsletter:'); define('EMAIL_NEW_CLIENT_PHONE', 'Telephone:'); define('EMAIL_NEW_CLIENT_FAX', 'Fax:'); define('EMAIL_NEW_CLIENT_ADDRESS', 'Address:'); define('EMAIL_NEW_CLIENT_CITY', 'City:'); define('EMAIL_NEW_CLIENT_SUBURB', 'Street Address 2:'); define('EMAIL_NEW_CLIENT_STATE', 'State:'); define('EMAIL_NEW_CLIENT_ZIP', 'Zipcode:'); define('EMAIL_NEW_CLIENT_COUNTRY', 'Country:'); ?>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.