ryanfc Posted February 22, 2004 Posted February 22, 2004 I want to change a few lines in the e-mail that is sent when a user first signs up for my shopping cart. In what file can I find the text to change what the welcome e-mail says? Thanks. Ryan Condict
aldaffodil Posted February 22, 2004 Posted February 22, 2004 catalog>includes>languages>english>create_account.php
ryanfc Posted February 22, 2004 Author Posted February 22, 2004 I have that page, but I don't see where I can edit the e-mail that osCommerce sends when a user signs up for a new account. The code I see in that page looks like this: <?php /* $Id: create_account.php,v 1.8 2002/11/19 01:48:08 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 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>.'); ?> I want to change the e-mail that is send and reads as follows: Dear Mr. Condict, We welcome you to DACSky. You can now take part in the various services we have to offer you. Some of these services include: Permanent Cart - Any products added to your online cart remain there until you remove them, or check them out. Address Book - 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. Order History - View your history of purchases that you have made with us. Products Reviews - Share your opinions on products with our other customers. For help with any of our online services, please email the store-owner: [email protected]. Note: This email address was given to us by one of our customers. If you did not signup to be a member, please send a email to [email protected]. I want to change a few lines in the above e-mail, but I am not sure where that text is located and in what file. Ryan
aldaffodil Posted February 22, 2004 Posted February 22, 2004 Do you have osc2.2ms2? You seem to have an older version of create_account.php. The latest version is 1.11 and you have 1.8. Try replacing your entire file with this code: <?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.com 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 Mr. %s,' . "\n\n"); define('EMAIL_GREET_MS', 'Dear Ms. %s,' . "\n\n"); define('EMAIL_GREET_NONE', 'Dear %s' . "\n\n"); define('EMAIL_WELCOME', 'We welcome you to <b>' . STORE_NAME . '</b>.' . "\n\n"); define('EMAIL_TEXT', 'You can now take part in the <b>various services</b> we have to offer you. Some of these services include:' . "\n\n" . '<li><b>Order History</b> - View your history of purchases that you have made with us.' . "\n" . '<li><b>Products Reviews</b> - Share your opinions on products with our other customers.' . "\n\n"); define('EMAIL_CONTACT', 'For help with any of our online services, please email the store-owner: ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n\n"); define('EMAIL_WARNING', '<b>Note:</b> This email address was given to us by one of our customers. If you did not signup to be a member, please send an email to ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n"); ?> You will need to put your own text in the 'EMAIL_TEXT' field
ryanfc Posted February 22, 2004 Author Posted February 22, 2004 Changing that one page to the newer version shouldn't mess up other pages would it? Also I am guessing if I upgraded to the newest version of osCommerce it would write over all the changes i have made to the version I am running correct? Thanks for your help.
kerrywatson Posted February 22, 2004 Posted February 22, 2004 Is there a way to edit this Welcome E-Mail using the Administration module? Thanks, Kerry
aldaffodil Posted February 22, 2004 Posted February 22, 2004 I don't think it would mess anything up. If you upgraded, yes, it will erase all the changes you've made so far. No, there isn't a way to update this in the admin panel.
ryanfc Posted March 6, 2004 Author Posted March 6, 2004 That didn't work for me. It still shows all the text. The changes I made to the text are not taking effect. Is there any other option? Ryan
ozcsys Posted March 7, 2004 Posted March 7, 2004 That didn't work for me. It still shows all the text. The changes I made to the text are not taking effect. Is there any other option? Ryan Changing just the create_account file in you lang folder probably did not work because your catalog/create_account file is not looking for the new information. I would change both of them and see if that helps. The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
Recommended Posts
Archived
This topic is now archived and is closed to further replies.