walidius22 Posted November 16, 2016 Share Posted November 16, 2016 Hello dear Prestashop users! I have added 100 customers manually into my system but non of the customers received an email with their password. How can i trigger this so i send a pw to all my customers? Kind regards Link to comment Share on other sites More sharing options...
walidius22 Posted November 16, 2016 Author Share Posted November 16, 2016 Anyone? Link to comment Share on other sites More sharing options...
Knowband Plugins Posted November 17, 2016 Share Posted November 17, 2016 You can use the following code to send a account confirmation email to customers: Mail::Send( $this->context->language->id, 'account', Mail::l('Welcome!'), array( '{firstname}' => $customer->firstname, '{lastname}' => $customer->lastname, '{email}' => $customer->email, '{passwd}' => $passd ), $customer->email, $customer->firstname.' '.$customer->lastname ); You need to put the above code into a loop running for all the customers that you have created and also need to add passwords that you have set while adding customers manually. Link to comment Share on other sites More sharing options...
walidius22 Posted November 17, 2016 Author Share Posted November 17, 2016 Hi there, Thank you for your reply. How do i do this exactly? Could you possibly do it? I can pay you. Thanks Link to comment Share on other sites More sharing options...
Knowband Plugins Posted November 17, 2016 Share Posted November 17, 2016 Hi there, Thank you for your reply. How do i do this exactly? Could you possibly do it? I can pay you. Thanks Yes, we can do it by writing a script for you. We have sent you a message, please check your inbox. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now