Jump to content

mailalerts.php


GrezZeR

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...