I would like to show the field "name" eg the full name of the customer insted of "first_name" and "last_name" in this code:
<strong><?php echo JText::sprintf ('COM_VIRTUEMART_MAIL_SHOPPER_NAME', $this->civility . ' ' . $this->orderDetails['details']['BT']->first_name . ' ' . $this->orderDetails['details']['BT']->last_name); ?></strong><br/>
in the invoice view file: mail_html_header.php
How do i do that ?
Hello,
I would like to know if you have found the solution to this problem.
Thank you
Quoteshow the field "name" eg the full name of the customer
?? this is the constructed full name...
I think I understand the problem. In #__virtuemart_order_userinfos, displayed name field is not present.
to solve I added the company field on the registration form and i change the sourcecode:
echo vmText::sprintf ('COM_VIRTUEMART_MAIL_SHOPPER_NAME', $this->civility . ' ' . $this->orderDetails['details']['BT']->company);
displayed name is Joomla user field in #__users
thank you