GrezZeR Posted December 17, 2013 Share Posted December 17, 2013 Hi I try to add the group name that customers have in the mail that I receive when ordering. Have seen that in the database under "Name" which I find in "group_lang" it says the names of the group. But how should I write it in mailalerts.php to use the {} command in the mail template that shows that? I have tested with '{id_group_name}' => $group_lang->name But it does not work. Does anyone know how I should write this in the file for it to get the name of the group? Have tested with '{id_group}' => $customer->id_default_group However, this only shows number of the group. Link to comment Share on other sites More sharing options...
CartExpert.net Posted December 17, 2013 Share Posted December 17, 2013 Hi. Create a new instance of the group class and get it's name. Regards.Robin.The CartExpert Team Link to comment Share on other sites More sharing options...
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