Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Extra text in email: "EMAIL_CONTACTNote: "


dalefox

Recommended Posts

I made some mods to create_account.php in order to customize the email sent upon account creation. But some extra text is appearing and I can't figure out why?

 

======================

Here's my file:

======================

 

<?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 © 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', 'Thanks for signing up with Phlash at www.phonephlash.com.' . "\n\n");

 

define('EMAIL_TEXT', 'If you placed an order, you will be receiving an order confirmation soon that will contain a link to your account where you can track the status of your order at any time. Once again, thank you for shopping at www.phonephlash.com.' . "\n\n");

 

define('EMAIL_WARNING', 'Note: We do not like spam either, so you will never receive an email from us unless its related to your order. If you received this email in error, please let us know at ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n");

 

?>

 

 

 

======================

And here's the email it generates:

======================

 

Dear Bob

 

Thanks for signing up with Phlash at www.phonephlash.com.

 

If you placed an order, you will be receiving an order confirmation soon that will contain a link to your account where you can track the status of your order at any time. Once again, thank you for shopping at www.phonephlash.com.

 

EMAIL_CONTACTNote: We do not like spam either, so you will never receive an email from us unless its related to your order. If you received this email in error, please let us know at [email protected].

 

 

======================

 

What's up with that "EMAIL_CONTACT" reference? Any idea how i get rid of it?

 

 

/df

Link to comment
Share on other sites

I made some mods to create_account.php in order to customize the email sent upon account creation. But some extra text is appearing and I can't figure out why?

 

======================

Here's my file:

======================

 

<?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 ? 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', 'Thanks for signing up with Phlash at www.phonephlash.com.' . "\n\n");

 

define('EMAIL_TEXT', 'If you placed an order, you will be receiving an order confirmation soon that will contain a link to your account where you can track the status of your order at any time. Once again, thank you for shopping at www.phonephlash.com.' . "\n\n");

 

define('EMAIL_WARNING', 'Note: We do not like spam either, so you will never receive an email from us unless its related to your order. If you received this email in error, please let us know at ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n");

 

?>

======================

And here's the email it generates:

======================

 

Dear Bob

 

Thanks for signing up with Phlash at www.phonephlash.com.

 

If you placed an order, you will be receiving an order confirmation soon that will contain a link to your account where you can track the status of your order at any time. Once again, thank you for shopping at www.phonephlash.com.

 

EMAIL_CONTACTNote: We do not like spam either, so you will never receive an email from us unless its related to your order. If you received this email in error, please let us know at [email protected].

======================

 

What's up with that "EMAIL_CONTACT" reference? Any idea how i get rid of it?

/df

 

Open

 

catalog/includes/languages/english/create_account.php

 

Verify that the following line is in it, if not add it - all should be well.

 

add

 

define('EMAIL_CONTACT', 'For help with any of our online services, please email the store-owner: ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n\n");

 

Note, this is ALL one line...

 

 

Henry

My Contributions

 

Henry Smith

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...