Hello,
we need to be notified via mail when a new customer registered an account.
Since there is no option in CS-Cart to activate this feature, please tell us how we can implement this with a hook. Which hook do we have to us?
What we do not want to do is to directly edit any core file of the system.
So please give us a hint since this should normally be a built in feature.
best regards,
Alex
[quote name='apr3455' timestamp='1423555165' post='204804']
Hello,
we need to be notified via mail when a new customer registered an account.
Since there is no option in CS-Cart to activate this feature, please tell us how we can implement this with a hook. Which hook do we have to us?
What we do not want to do is to directly edit any core file of the system.
So please give us a hint since this should normally be a built in feature.
[/quote]
Dear Alex,
You should use the update_profile hook is located in the fn_update_user function (app/functions/fn.users.php)
In the same function you can also check how to send e-mails using default functions.
Dear Alex,
You should use the [b]update_profile [/b]hook is located in the [b]fn_update_user[/b] function ([b]app/functions/fn.users.php[/b])
In the same function you can also check how to send e-mails using default functions.
Hi Ecom,
Can you explain me a bit how can I use this hook. File location / File name to be created.
This is in reference to my other query on http://forum.cs-cart.com/topic/42033-generate-emails-based-on-incoming-url-params/