= = system/library/customer.php
ищем
private $customer_group_id;
дальше вставляем
private $customer_group_name;
дальше за
if ($customer_query->num_rows) {
вставляем
$customer_name_query = $this->db->query("SELECT name FROM " . DB_PREFIX . "customer_group_description WHERE customer_group_id = '" . (int)$customer_query->row['customer_group_id'] . "'");
$this->customer_group_name = $customer_name_query->row['name'];
за этим
$this->customer_group_id = '';
вот это
$this->customer_group_name = '';
и после
public function getCustomerGroupId() {
return $this->customer_group_id;
}
вот это
public function getCustomerGroupName() {
return $this->customer_group_name;
}
теперь в = = catalog/controller/common/header.php
ищем
$this->data['text_logged'] = sprintf($this->language->get('text_logged'), $this->url->link('account/account', '', 'SSL'), $this->customer->getFirstName(), $this->url->link('account/logout', '', 'SSL'));
и заменяем на
$cust_name = $this->customer->getFirstName();
$cust_group_id = $this->customer->getCustomerGroupName();
$concat_info = $cust_name. "," . "Ваша группа: ".$cust_group_id.",";
$this->data['text_logged'] = sprintf($this->language->get('text_logged'), $this->url->link('account/account', '', 'SSL'), $concat_info, $this->url->link('account/logout', '', 'SSL'));