Jump to content

Customers manually added


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...