Hi there,
I wonder how to add the customer name in the emails to the customer request on a user group ?
Currently, there is no address in the notification email, such as , Dear xxx xxx, xxx xxx stand for last name and first name. As you can see from the enclosed image
It is not a goods performance to the user experience.
Is there any way, that i can make the setting from the admin panel at the language section ?
Or how to get it works ?
Thank you
Hi ,
you could try to edit the files in your skin.
You can find them in
skins/your-skin/mail/profiles
the file usergroup_request.tpl
You can add the fields you need in a table that you will find there
```php
{if $settings.General.use_email_as_login != "Y"}
{/if}
{$lang.usergroup}: | {$usergroups.$usergroup_id.usergroup} |
{$lang.username}: | {$user_data.user_login} |
{$lang.name}: | {$user_data.firstname} {$user_data.lastname} |
{$lang.email}: | {$user_data.email} |
```
Those fields are taken fro the db and the table users.
So try adding the fields you like from this table in the tpl and let me know if ti works for you.
Fotis
[quote name=‘dvsgr’ timestamp=‘1333177381’ post=‘134122’]
Hi ,
you could try to edit the files in your skin.
You can find them in
skins/your-skin/mail/profiles
the file usergroup_request.tpl
You can add the fields you need in a table that you will find there
<br />
<table><br />
<tr><br />
<td>{$lang.usergroup}:</td><br />
<td><b>{$usergroups.$usergroup_id.usergroup}</b></td><br />
</tr><br />
{if $settings.General.use_email_as_login != "Y"}<br />
<tr><br />
<td>{$lang.username}:</td><br />
<td>{$user_data.user_login}</td><br />
</tr><br />
{/if}<br />
<tr><br />
<td>{$lang.name}:</td><br />
<td>{$user_data.firstname} {$user_data.lastname}</td><br />
</tr><br />
<tr><br />
<td>{$lang.email}:</td><br />
<td>{$user_data.email}</td><br />
</tr><br />
</table><br />
```<br />
<br />
Those fields are taken fro the db and the table users.<br />
<br />
So try adding the fields you like from this table in the tpl and let me know if ti works for you.<br />
<br />
Fotis<br />
[/quote]<br />
<br />
hi Fotis, is it possible to get it work on the admin panel ?<br />
I have little knowledge on the php <img src="upload://nMBtKsE7kuDHGvTX96IWpBt1rTb.gif" class="bbc_emoticon" alt=":-(">