aztonline Posted October 16, 2014 Share Posted October 16, 2014 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 More sharing options...
NemoPS Posted October 17, 2014 Share Posted October 17, 2014 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 More sharing options...
aztonline Posted October 18, 2014 Author Share Posted October 18, 2014 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 More sharing options...
NemoPS Posted October 20, 2014 Share Posted October 20, 2014 Well, I don't know any module with this functionality actually Link to comment Share on other sites More sharing options...
aztonline Posted October 20, 2014 Author Share Posted October 20, 2014 Can it be done through an additional module? or do we need to do my changing the prestashop existing code? Link to comment Share on other sites More sharing options...
NemoPS Posted October 21, 2014 Share Posted October 21, 2014 I think it can be developed, but it has to use overrides Link to comment Share on other sites More sharing options...
Recommended Posts