Что бы не создавать новую тему, добавлю сюда же.
И так, в письме для администратора (о новом пользователе), добавим его данные.
1). Заходим в админку ("Система" > "Настройка" > "Почта") и отмечаем:
2). Открываем файл catalog/controller/account/create.php и находим строку:
$mail->send();
После неё добавляем:
$this->load->model('localisation/country');
$this->load->model('localisation/zone');
$country = $this->model_localisation_country->getCountry($this->request->post['country_id']);
$zone = $this->model_localisation_zone->getZone($this->request->post['zone_id']);
$subject = $this->language->get('text_registration') . ' ' . $this->request->post['firstname'] . ' ' . $this->request->post['lastname'];
$message = $this->language->get('text_new_registration') . ' ' . $this->config->get('config_name') . '.' . "\n\n";
$message .= $this->language->get('entry_firstname') . ' ' . $this->request->post['firstname'] . "\n";
$message .= $this->language->get('entry_lastname') . ' ' . $this->request->post['lastname'] . "\n";
$message .= $this->language->get('entry_email') . ' ' . $this->request->post['email'] . "\n";
$message .= $this->language->get('text_password') . ' ' . $this->request->post['password'] . "\n\n";
$message .= $this->language->get('entry_telephone') . ' ' . $this->request->post['telephone'] . "\n";
$message .= $this->language->get('entry_fax') . ' ' . $this->request->post['fax'] . "\n";
$message .= $this->language->get('entry_company') . ' ' . $this->request->post['company'] . "\n";
$message .= $this->language->get('entry_address_1') . ' ' . $this->request->post['address_1'] . "\n";
$message .= $this->language->get('entry_address_2') . ' ' . $this->request->post['address_2'] . "\n";
$message .= $this->language->get('entry_city') . ' ' . $this->request->post['city'] . "\n";
$message .= $this->language->get('entry_zone') . ' ' . $zone['name'] . "\n";
$message .= $this->language->get('entry_postcode') . ' ' . $this->request->post['postcode'] . "\n";
$message .= $this->language->get('entry_country') . ' ' . $country['name'] . "\n";
$message .= ($this->request->post['newsletter']) ? $this->language->get('entry_newsletter') . ' ' . $this->language->get('text_yes') : $this->language->get('entry_newsletter') . ' ' . $this->language->get('text_no');
$mail->setSubject($subject);
$mail->setText(html_entity_decode($message, ENT_QUOTES, 'UTF-8'));
$mail->setTo($this->config->get('config_email'));
$mail->send();
Далее, (чуть ниже) находим:
$this->data['text_newsletter'] = $this->language->get('text_newsletter');
После неё добавляем:
$this->data['text_registration'] = $this->language->get('text_registration');
$this->data['text_new_registration'] = $this->language->get('text_new_registration');
3). Открываем файл catalog/language/russian/account/create.php и добавляем:
$_['text_registration'] = 'New Customer Registration:';
$_['text_new_registration']= 'A new customer just registered at';
Всё.
Создаём нового пользователя и проверяем.