News:

Looking for documentation? Take a look on our wiki

Main Menu

user registration mail not showing custom fields

Started by 2cool, March 24, 2016, 15:01:39 PM

Previous topic - Next topic

2cool

My user registation email doesnt show all custom fields?
Is there a limit or how can/should this be configured.
Both are renamed txt fields (fax and tax_exemption_number)

Using Joomla! 3.4.8 and VirtueMart 3.0.14

Thanks,
Pas

2cool

The user is recieving an email with all fields?
Looking at /public_html/components/com_virtuemart/views/user/tmpl

mail_html_regvendor.php - email to admin
mail_html_reguser.php - email to user

Difference is in line 69-74 :
mail_html_regvendor.php
    foreach ($this->userFields['fields'] as $userField) {
if (!empty($userField['value']) && $userField['type'] != 'delimiter' && $userField['type'] != 'BT') {
    echo $userField['title'] . ': ' . $userField['value'] . $li;
}
    }
    ?>


mail_html_reguser.php
    foreach ($this->userFields['fields'] as $userField) {
if (!empty($userField['value']) && $userField['type'] != 'delimiter' && $userField['type'] != 'BT' && $userField['type'] != 'hidden') {
    echo $userField['title'] . ': ' . $userField['value'] . $li;
}
    }
    ?>


Any help info is welcome.

Regards, Pas

2cool

testing lots of issues but still not working.
normal joomla registration = ok (user and admin receive email)
virtuemart registration (Account Maintenance) user get mail, admin not
beez template same problem
Could the 'custom fields' be the problem? I renamed and rearranged these.

All tips and suggestions are welcome.

Regards,
Pas

2cool

update to vm 3.0.16 solved this bug.

Regards,
Pas