Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

welcome email


azziman

Recommended Posts

Posted

in the welcome email how can i add the users:

 

Email address: xxxxxxx@xxxxxxxxxx

Password: xxxxxxxx

 

so the welcome email looks like:

 

Welcome to our shop

Email address: xxxxxxx@xxxxxxxxxx

Password: xxxxxxxx

We recommend that you print this page out, as you will need your username and password to log into www.ourshop.com

no1.jpg
Posted

And i am sure you are going to share with the community the way you did it

 

The_Bear

Posted

simple:

 

Open the create_account.php (catalog/) and go to line 248

 

$email_text .= EMAIL_WELCOME . EMAIL_USERNAME . EMAIL_PASSWORD . EMAIL_TEXT . EMAIL_CONTACT . EMAIL_WARNING;

 

Save and upload this file. The next step is to open the language file for create_account.php then add:

 

define('EMAIL_USERNAME', 'Your username is: <b>' . stripslashes($HTTP_POST_VARS['email_address']) . '</b>' . "\n\n");
define('EMAIL_PASSWORD', 'Your password is: <b>' . stripslashes($HTTP_POST_VARS['password']) . '</b>' . "\n\n");

no1.jpg
  • 3 months later...
Posted

I tried to do as instructed on this but did not come up with a working solution. In the code copy from line 248, what are we to save this file as? I tried to copy the code but it would not work. Any help would be appreciated, trying to put the username/password in an email.

 

Thanks.

 

Paul

 

simple:

 

Open the create_account.php (catalog/) and go to line 248

 

$email_text .= EMAIL_WELCOME . EMAIL_USERNAME . EMAIL_PASSWORD . EMAIL_TEXT . EMAIL_CONTACT . EMAIL_WARNING;

 

Save and upload this file. The next step is to open the language file for create_account.php then add:

 

define('EMAIL_USERNAME', 'Your username is: <b>' . stripslashes($HTTP_POST_VARS['email_address']) . '</b>' . "\n\n");
define('EMAIL_PASSWORD', 'Your password is: <b>' . stripslashes($HTTP_POST_VARS['password']) . '</b>' . "\n\n");

Archived

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

×
×
  • Create New...