Dans mailalerts.php

Prestashop 1.6
// Dans public function hookActionValidateOrder($params) après // Getting differents vars, récupérer la variable de l’id du groupe client et définir le contexte
$group = new Group($customer->id_default_group,$this->context->lang->id);

//Ce qui te permets d’assigner le nom du groupe dans $template_vars = array(
‘{customergroup}’ => $group->name,

Prestashop 1.5
Idem mais remplacer :
$group = new Group($customer->id_default_group,$this->context->lang->id);
par
$group = new Group($customer->id_default_group,$this->context->language->id);

Join Our Mailing List

Once Weekly Webinar

Free Webinar Once Per Week

Our free webinar runs once per week and is available to anybody who wants to know more about getting started on the road to financial freedom.