- Posts: 72
- Thank you received: 1
Custom field (User table) into order email
10 years 3 months ago #242210
by joeofall
Custom field (User table) into order email was created by joeofall
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.8
-- Browser(s) name and version -- : firefox
hi,
i created a custom field on user table for account number.
how can i input this field in to order email to both customer and admin will see this field info in their email ?
thank you
-- Joomla version -- : 3.4.8
-- Browser(s) name and version -- : firefox
hi,
i created a custom field on user table for account number.
how can i input this field in to order email to both customer and admin will see this field info in their email ?
thank you
Please Log in or Create an account to join the conversation.
10 years 3 months ago #242237
by nicolas
Replied by nicolas on topic Custom field (User table) into order email
Hi,
The custom user fields are not displayed in the emails by default.
You'll have to edit the emails via the menu System>Emails (Business edition), or directly the email files in media/com_hikashop/mail to add the display of the fields there with such code:
<?php echo $data->cart->customer->XXX; ?>
where XXX is the column name of the custom user field.
The custom user fields are not displayed in the emails by default.
You'll have to edit the emails via the menu System>Emails (Business edition), or directly the email files in media/com_hikashop/mail to add the display of the fields there with such code:
<?php echo $data->cart->customer->XXX; ?>
where XXX is the column name of the custom user field.
Please Log in or Create an account to join the conversation.
10 years 3 months ago #242419
by joeofall
Replied by joeofall on topic Custom field (User table) into order email
it work !!
thanks you!!
thanks you!!
Please Log in or Create an account to join the conversation.
Time to create page: 0.176 seconds