Author Topic: user registration mail not showing custom fields  (Read 1458 times)

2cool

  • Jr. Member
  • **
  • Posts: 230
user registration mail not showing custom fields
« on: March 24, 2016, 15:01:39 pm »
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

  • Jr. Member
  • **
  • Posts: 230
Re: user registration mail not showing custom fields
« Reply #1 on: March 25, 2016, 09:27:46 am »
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
Code: [Select]
    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
Code: [Select]
    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

  • Jr. Member
  • **
  • Posts: 230
Re: user registration mail not showing custom fields
« Reply #2 on: March 27, 2016, 19:47:53 pm »
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

  • Jr. Member
  • **
  • Posts: 230
Re: user registration mail not showing custom fields
« Reply #3 on: April 13, 2016, 13:22:23 pm »
update to vm 3.0.16 solved this bug.

Regards,
Pas