Hi,
So you need to edit the order_admin_notification preload and replace
'order' => $data->cart,
'billing_address' => @$data->cart->billing_address,
'shipping_address' => @$data->cart->shipping_address,
By
'order' => $data->cart,
'user' => $userInfos,
'billing_address' => @$data->cart->billing_address,
'shipping_address' => @$data->cart->shipping_address,
Then you will be able to use the tag
{VAR:user.mycustomfieldname}
in the HTML part in order to display the content of a user custom field.
If the custom field name is in lowercase, you have to write it in lowercase too.
In the mails, we generally use the variables in uppercase when it's a pre-compile data ; when we deal with HikaShop objects (like the order object, the addresses objects, etc) we decided to write the name in lowercase ; so we can see easily the difference in the mail content.
Regards,