[Skip to main content](#vessel-content)

#   Custom field (User table) into order email

##

- **[joeofall](/forum/user/11729-joeofall "View joeofall's Profile")**
- [![joeofall's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/11729-joeofall "View joeofall's Profile") Topic Author
- [ Offline](/forum/user/11729-joeofall)

Less More

- Posts: 72
- Thank you received: 1
-
-

10 years 5 months ago [\#242210](#242210) by [joeofall](/forum/user/11729-joeofall "View joeofall's Profile")  *[Custom field (User table) into order email](/forum/35-orders-management/884944-custom-field-user-table-into-order-email#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")* was created by *[joeofall](/forum/user/11729-joeofall "View joeofall's Profile")*

-- 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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4NDk0NC1jdXN0b20tZmllbGQtdXNlci10YWJsZS1pbnRvLW9yZGVyLWVtYWlsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

10 years 5 months ago [\#242237](#242237) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom field (User table) into order email](/forum/35-orders-management/884944-custom-field-user-table-into-order-email#242237 "-- 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")*

Hi,

The custom user fields are not displayed in the emails by default.
You'll have to edit the emails via the menu System&gt;Emails (Business edition), or directly the email files in media/com_hikashop/mail to add the display of the fields there with such code:
&lt;?php echo $data-&gt;cart-&gt;customer-&gt;XXX; ?&gt;
where XXX is the column name of the custom user field.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4NDk0NC1jdXN0b20tZmllbGQtdXNlci10YWJsZS1pbnRvLW9yZGVyLWVtYWlsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[joeofall](/forum/user/11729-joeofall "View joeofall's Profile")**
- [![joeofall's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/11729-joeofall "View joeofall's Profile") Topic Author
- [ Offline](/forum/user/11729-joeofall)

Less More

- Posts: 72
- Thank you received: 1
-
-

10 years 5 months ago [\#242419](#242419) by [joeofall](/forum/user/11729-joeofall "View joeofall's Profile")  Replied by *[joeofall](/forum/user/11729-joeofall "View joeofall's Profile")* on topic *[Custom field (User table) into order email](/forum/35-orders-management/884944-custom-field-user-table-into-order-email#242419 "-- 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")*

it work !!

thanks you!!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4NDk0NC1jdXN0b20tZmllbGQtdXNlci10YWJsZS1pbnRvLW9yZGVyLWVtYWlsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.050 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
