zimmer-media Posted February 1, 2018 Posted February 1, 2018 If you want to see group on customer list (from ps forum) create new file AdminCustomersController.php override / httpdocs / override / controllers / admin / AdminCustomersController.php ``` <?php class AdminCustomersController extends AdminCustomersControllerCore { public function construct() { parent::construct(); $this->_select .= ', g.`name` as group_name'; $this->_join .= ' LEFT JOIN `'._DB_PREFIX_.'customer_group` cg ON (a.`id_customer` = cg.`id_customer`) LEFT JOIN `'._DB_PREFIX_.'group_lang` g ON (cg.`id_group` = g.`id_group` AND g.`id_lang` = '. (int)$this->context->language->id.')'; $this->fields_list['group_name'] = array('title' => $this->l('Group')); } } ``` before -- after
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