Community Forums

[MOD] Email username and Password

Free manual modifications can be contributed here. Modifications are manual snippets of code that are pasted into the forums for others to use.

[MOD] Email username and Password

Postby i2Paq » Thu Nov 11, 2010 1:36 pm

I want to change the e-mail that the customer gets when registering.

Atm. it is just a plain and simple e-mail telling him/her that the registration went successful.

I want to add the e-mail address the customer used for registering plus the password he/she used.

This so my customer can keep this e-mail for future reference.

Anyone out there that already created this and would like to share that code? :)
Last edited by i2Paq on Wed Nov 24, 2010 3:33 pm, edited 1 time in total.
Reason: Topic moved + Title adjusted
Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.

First Things First: Opencart Check List.
Documentation: Our Documentation section.
BUGs?: Known BUGS for All OC Versions.

Problemen met de BTW?: [How to] BTW + Verzend & betaalmethodes.
User avatar
i2Paq
Global Moderator
 
Posts: 9764
Joined: Mon Nov 09, 2009 11:00 am
Location: Winkel - The Netherlands

Re: Adjust customer welcome/registration e-mail

Postby i2Paq » Wed Nov 24, 2010 3:33 pm

Here is a zip with the required files.

catalog/controller/account/create.php
catalog/language/english/mail/account_create.php
catalog/language/dutch/mail/account_create.php

It works with 1.4.9.2, use at your own risk ;)
Attachments
email_password_username.zip
(5.95 KiB) Downloaded 149 times
Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.

First Things First: Opencart Check List.
Documentation: Our Documentation section.
BUGs?: Known BUGS for All OC Versions.

Problemen met de BTW?: [How to] BTW + Verzend & betaalmethodes.
User avatar
i2Paq
Global Moderator
 
Posts: 9764
Joined: Mon Nov 09, 2009 11:00 am
Location: Winkel - The Netherlands

Re: [MOD] Email username and Password

Postby emmetje » Mon Jul 11, 2011 12:48 pm

Update to 1.5.0.5, don't use the zip posted above.

Open catalog > model > account > customer.php
Find
Code: Select all
$message .= $this->language->get('text_services') . "\n\n";

Add after
Code: Select all
$message .= $this->language->get('text_save') . "\n\n";         
      $message .= $this->language->get('text_email') . ' ' . $this->request->post['email'] . "\n";
      $message .= $this->language->get('text_password') . ' ' . $this->request->post['password'] . "\n\n";


Open catalog > language > english > mail > customer.php
Add before the final ?>
Code: Select all
// e-mail loginname and password
$_['text_save']     = 'Please save this email for future refference.';
$_['text_email']    = 'Email address / Loginname:';
$_['text_password'] = 'Your Password:';


Thanks to i2Paq for the mod
User avatar
emmetje
 
Posts: 28
Joined: Tue Jun 21, 2011 6:18 pm

Re: [MOD] Email username and Password

Postby mberlant » Tue Jul 12, 2011 12:44 am

Make sure your customer base wants this "convenience" before you provide it.

Personally, I never want my password, which I am quite capable of remembering, sent to me in plain text in an ordinary email. This is an immense violation of my privacy. I will not do business with any e-commerce site that retains my password in unencrypted form, much less broadcasts it in unencrypted form.

Remember that email services such as gmail boast that they are giving you free email service because they actively read all of the mail that you send and receive so that they can more efficiently SPAM you.

Do you as a store owner want the liability of your customers' unencrypted passwords being disclosed accidentally or intentionally in this manner? I don't think any of us wants to go through what Sony is going through now.

OpenCart has a perfectly fine password reset tool that solves this "problem" without any privacy exposure.
Please use proper English at all times, so that all members may understand you.
User avatar
mberlant
 
Posts: 676
Joined: Sun Mar 13, 2011 12:33 pm

Re: [MOD] Email username and Password

Postby i2Paq » Fri Aug 24, 2012 10:56 am

Any solution for this to work with 1.5.4.x?
Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.

First Things First: Opencart Check List.
Documentation: Our Documentation section.
BUGs?: Known BUGS for All OC Versions.

Problemen met de BTW?: [How to] BTW + Verzend & betaalmethodes.
User avatar
i2Paq
Global Moderator
 
Posts: 9764
Joined: Mon Nov 09, 2009 11:00 am
Location: Winkel - The Netherlands

Re: [MOD] Email username and Password

Postby Klimskady » Tue Sep 04, 2012 11:44 pm

i2Paq wrote:Any solution for this to work with 1.5.4.x?


I too would be interested in this..
Klimskady
 
Posts: 160
Joined: Mon Jun 06, 2011 11:57 pm


Return to Modifications

Who is online

Users browsing this forum: No registered users and 4 guests

Hosted by Arvixe Web Hosting