Custom field (User table) into order email

  • Posts: 72
  • Thank you received: 1
8 years 5 months ago #242210

-- 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

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
8 years 5 months ago #242237

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.

Please Log in or Create an account to join the conversation.

  • Posts: 72
  • Thank you received: 1
8 years 5 months ago #242419

it work !!

thanks you!!

Please Log in or Create an account to join the conversation.

Time to create page: 0.056 seconds
Powered by Kunena Forum