Jump to content

Trigger email when customer changes personal info


Recommended Posts

Hi,

 

Is there a way I can trigger an email to be sent to the customer whenever personal info like email, password or addresses are changed to notify the customer.

 

Currently its not being sent. Can you advise how I can enable it?

 

Regards

Thalha

Link to comment
Share on other sites

Well yes, but you need to edit the IdentityCOntroller and AddressController as well. It's a bit complicated.

Specifically, you should use Mail::Send within 

 

if (Tools::isSubmit('submitIdentity'))
 
 
In IdentityController, and withing the method
 
processSubmitAddress
 
In addressController
 
It's tough if you don't know php and presta, though
Link to comment
Share on other sites

Seems complicated. I was surprised that prestashop was not doing it automatically. Its a very required security feature. We need to alert customer when their details are changed. Its a very good fraud prevention tool. Can the change me done as a module?

 

I am a bit jittery about changing PHP code

Link to comment
Share on other sites

×
×
  • Create New...