Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

New Customer Profile notification - encyrpt password Rate Topic   - - - - -

 
  • lake
  • Member
  • Members
  • Join Date: 05-Nov 12
  • 29 posts

Posted 07 January 2013 - 10:52 PM #1

I am wondering if there is a way to hide or replace the customers password with ******* in the email that they receive once a customer registers on our website.

As it is now, when the customer receives their New customer profile notification email. The email shows their password. Our customers don't like that and we are receiving complaints about it.

User account information
Email: customer@emailprovider.com
Password: dummypass
Login URL: http://www.domainname.com/
Profile name: Main

We would like it to look more like this:

User account information
Email: customer@emailprovider.com
Password: ******* or (not shown)
Login URL: http://www.domainname.com/
Profile name: Main



We just sent out a New Years promotion to encourage our customers to sign up for our new rewards program, however, they must first register... Now with all of these new registrations customers are concerned about having their password revealed even though it's encrypted in the admin area - but they don't know that. Their concern is that as it makes its way to their inbox it can get caught.

Is this an easy fix?

Thanks!

~ Lake

 

Posted 07 January 2013 - 10:57 PM #2

To remove the password go into skins/<your_skin>/mail/profiles/profiles_info.tpl and remove:

   {if $password}
   <tr>
	<td class="form-field-caption" nowrap>{$lang.password}:&nbsp;</td>
	<td>{$password}</td>
   </tr>
   {/if}

John
John Carroll
My Webshop: Alpha Spas

 
  • lake
  • Member
  • Members
  • Join Date: 05-Nov 12
  • 29 posts

Posted 08 January 2013 - 12:20 AM #3

You're awesome!!

Thank you!!

 
  • sbooks
  • Junior Member
  • Members
  • Join Date: 24-Sep 10
  • 30 posts

Posted 14 June 2013 - 01:54 PM #4

can you disable the email all together from being sent?

 
  • jacson
  • Advanced Member
  • Members
  • Join Date: 03-Aug 12
  • 74 posts

Posted 02 April 2014 - 12:13 AM #5

Does anyone know how to edit the general text content in the e-mail that is being sent? I particularity want to remove the "Dear customer" line in this e-mail. I was able to edit the other lines in languages, but can't figure the tpl file that has the "dear customer" part..

Thanks!

Jac

 
  • Hungryweb
  • Senior Member
  • Authorized Reseller
  • Join Date: 10-Feb 12
  • 1267 posts

Posted 02 April 2014 - 04:30 AM #6

can you disable the email all together from being sent?

Hi @sbooks,
For this is required a core modification, into file app/functions/fn.users.php

#replace
if (!empty($notify_user)) {
#with
if (!empty($notify_user) && 1==2) {

I hope that helps,

---
Valentin
part of hungryweb.net

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20936 posts

Posted 02 April 2014 - 09:35 AM #7

Does anyone know how to edit the general text content in the e-mail that is being sent? I particularity want to remove the "Dear customer" line in this e-mail. I was able to edit the other lines in languages, but can't figure the tpl file that has the "dear customer" part..


What CS-Cart version do you use? For example, in v 4.1.3 you can find the following line in the "design/themes/basic/mail/templates/profiles/create_profile.tpl":

{__("dear")} {if $user_data.firstname}{$user_data.firstname}{else}{$user_data.user_type|fn_get_user_type_description|lower}{/if},<br><br>

This template is sent for each new profile creation. Other templates can be also found in the "design/themes/basic/mail/templates/" directory.

Thanks.
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • jacson
  • Advanced Member
  • Members
  • Join Date: 03-Aug 12
  • 74 posts

Posted 02 April 2014 - 03:46 PM #8

Thanks for the reply eCom - sorry, should have said, its 4.0.3. I did find that tpl file and saw that line, but the text content that is being inserted is "Dear "customer", looking at the tpl file is seems as though it should be inserting first name/last name and not generic "customer", that is why I did not think this was the file to mess with. Maybe its the last part that says "get user type description".

Sorry, I am not too familiar with the tpl files or how to edit them.

Jac

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20936 posts

Posted 03 April 2014 - 07:32 AM #9

Thanks for the reply eCom - sorry, should have said, its 4.0.3. I did find that tpl file and saw that line, but the text content that is being inserted is "Dear "customer", looking at the tpl file is seems as though it should be inserting first name/last name and not generic "customer", that is why I did not think this was the file to mess with. Maybe its the last part that says "get user type description".

Sorry, I am not too familiar with the tpl files or how to edit them.


Let me explain the mentioned line for you:

{__("dear")} {if $user_data.firstname}{$user_data.firstname}{else}{$user_data.user_type|fn_get_user_type_description|lower}{/if},<br><br>

Dear + (if firstname exists then show FIRSTNAME + LASTNAME else show user type (CUSTOMER, ADMIN, AFFILIATE, SUPPLIER, etc))

Hope that helps.
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • jacson
  • Advanced Member
  • Members
  • Join Date: 03-Aug 12
  • 74 posts

Posted 04 April 2014 - 03:57 PM #10

Thanks ecom - I see now...but with that, the New User Profile e-mail should indeed be inserting the first name and not "Dear Customer". I would be OK if it said Dear [their first name], but the client really hates the "dear customer". I either need to completely remove it, or change the text in languages I guess.

Do you have any idea why the first name is not being inserted?

Thanks,

Jac

 
  • NaMo
  • Senior Member
  • Members
  • Join Date: 26-Jan 14
  • 199 posts

Posted 05 April 2014 - 09:40 AM #11

Thanks ecom - I see now...but with that, the New User Profile e-mail should indeed be inserting the first name and not "Dear Customer". I would be OK if it said Dear [their first name], but the client really hates the "dear customer". I either need to completely remove it, or change the text in languages I guess.

Do you have any idea why the first name is not being inserted?

Thanks,

Jac


As the code states
{if $user_data.firstname}{$user_data.firstname}{else}{$user_data.user_type|fn_get_user_type_description|lower}
It means that if the customer's first name and last name are there, then it would be inserted next to "Dear", else the user type i.e. "Customer" would be inserted in the email.
So, it can be possibility that the user has not updated his complete profile fields so his name is not being fetched into the email.

 
  • jacson
  • Advanced Member
  • Members
  • Join Date: 03-Aug 12
  • 74 posts

Posted 05 April 2014 - 03:21 PM #12

Thanks NaMo - but this is the e-mail sent to the new customer AFTER their initial registration, its the "new user profile" e-mail, so logistically the e-mail could not be sent until the customer has completed the registration and that would certainly include their name. I have seen other versions of CS Cart that do what its supposed to, and that is insert the name.

This is a clean install of 403, so I can't guess why its not doing what its supposed to...

Jacson

 
  • NaMo
  • Senior Member
  • Members
  • Join Date: 26-Jan 14
  • 199 posts

Posted 05 April 2014 - 05:00 PM #13

Link of your store?
Maybe I'll try to sign up using my email id

 
  • jacson
  • Advanced Member
  • Members
  • Join Date: 03-Aug 12
  • 74 posts

Posted 05 April 2014 - 06:25 PM #14

The store is closed, the client does not want it live yet, until its done. I have tested it more then several times, its the same ol e-mail response, inserts Dear Customer instead of the first name. I submitted it to CS help desk to see if its a bug because there is no darn reason why it would not insert the first name. I have done no modifications. I personally would not care but the client really hates the "Dear Customer"...urrgg. I may need to just remove the line altogether, which I can do.

Thanks for following, its probably not a big deal to most, I just hate when things don't work the way they are supposed to for no reason!

 
  • Onkel_Sid
  • Junior Member
  • Members
  • Join Date: 04-Sep 10
  • 301 posts

Posted 05 April 2014 - 08:41 PM #15

CS-Cart should really fix this. In my country it is illegal to send out mails like this.

Stop smoking start vaping: Dampskyen.no


 
  • jacson
  • Advanced Member
  • Members
  • Join Date: 03-Aug 12
  • 74 posts

Posted 07 April 2014 - 09:16 PM #16

My Bad, function is normal - the notification sends "Dear customer" when the Allow quick registration is checked in admin, quick registration only asks for user name and e-mail and NOT the first or last name. Normal (not quick) registration asks for billing info and names.

Thanks for the interest in the post though.

 
  • jordenaleman
  • Member
  • Authorized Reseller
  • Join Date: 05-Nov 11
  • 27 posts

Posted 05 May 2014 - 10:36 AM #17

is it also possible to send a notification to the shopowner when a new registration is done?

thanks jorde
Jorden
Eyesi Webshops
www.eyesiwebwinkels.com

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20936 posts

Posted 05 May 2014 - 12:19 PM #18

is it also possible to send a notification to the shopowner when a new registration is done?

thanks jorde


Sure, it is default CS-Cart functionality. Please check the value of the Users department e-mail in the admin panel.
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)