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

#   extra fields in admin notification mail

##

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

Less More

- Posts: 41
- Thank you received: 0
-
-

14 years 4 months ago [\#56584](#56584) by [bcnx](/forum/user/7761-bcnx "View bcnx's Profile")  *[extra fields in admin notification mail](/forum/2-general-talk-about-hikashop/56584-extra-fields-in-admin-notification-mail#56584 "Hi,  how would I go about to have values of extra defined fields in the admin notification field (order&#95;admin&#95;notification.html.php) ?  cheers!  BC")* was created by *[bcnx](/forum/user/7761-bcnx "View bcnx's Profile")*

Hi,

how would I go about to have values of extra defined fields in the admin notification field (order_admin_notification.html.php) ?

cheers!

BC

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzU2NTg0LWV4dHJhLWZpZWxkcy1pbi1hZG1pbi1ub3RpZmljYXRpb24tbWFpbD90bXBsPW1hcmtkb3du) 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: 86555
- Thank you received: 14304
-
-

14 years 4 months ago [\#56607](#56607) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: extra fields in admin notification mail](/forum/2-general-talk-about-hikashop/56584-extra-fields-in-admin-notification-mail#56607 "Hi,  how would I go about to have values of extra defined fields in the admin notification field (order&#95;admin&#95;notification.html.php) ?  cheers!  BC")*

What kind of custom fields info do you want to add there ?

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

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

Less More

- Posts: 41
- Thank you received: 0
-
-

14 years 4 months ago [\#56630](#56630) by [bcnx](/forum/user/7761-bcnx "View bcnx's Profile")  Replied by *[bcnx](/forum/user/7761-bcnx "View bcnx's Profile")* on topic *[Re: extra fields in admin notification mail](/forum/2-general-talk-about-hikashop/56584-extra-fields-in-admin-notification-mail#56630 "Hi,  how would I go about to have values of extra defined fields in the admin notification field (order&#95;admin&#95;notification.html.php) ?  cheers!  BC")*

One of the "own fields" that have been defined for a customer, or even the standard fields that are associated with a customer.

Cheers!

BC

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzU2NTg0LWV4dHJhLWZpZWxkcy1pbi1hZG1pbi1ub3RpZmljYXRpb24tbWFpbD90bXBsPW1hcmtkb3du) 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: 86555
- Thank you received: 14304
-
-

14 years 4 months ago [\#56670](#56670) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: extra fields in admin notification mail](/forum/2-general-talk-about-hikashop/56584-extra-fields-in-admin-notification-mail#56670 "Hi,  how would I go about to have values of extra defined fields in the admin notification field (order&#95;admin&#95;notification.html.php) ?  cheers!  BC")*

That doesn't help.
There are 7 tables for custom fields: user, address, category, order, product, entry and item.
For each one, the way to display it will be different.
Please do a screenshot of the options of your custom field so that we can see what you're trying to display.

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

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

Less More

- Posts: 41
- Thank you received: 0
-
-

14 years 4 months ago [\#56699](#56699) by [bcnx](/forum/user/7761-bcnx "View bcnx's Profile")  Replied by *[bcnx](/forum/user/7761-bcnx "View bcnx's Profile")* on topic *[Re: extra fields in admin notification mail](/forum/2-general-talk-about-hikashop/56584-extra-fields-in-admin-notification-mail#56699 "Hi,  how would I go about to have values of extra defined fields in the admin notification field (order&#95;admin&#95;notification.html.php) ?  cheers!  BC")*

OK - hope this helps. It's in Dutch though, but you'll probably recognize it.

Cheers,

BC

- [ ![snapshot&#95;hika.jpeg](/forum/attachment/4651) ](/forum/attachment/4651 "...shot&#95;hika.jpeg") [ ](/forum/attachment/4651?download=1 "...shot&#95;hika.jpeg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzU2NTg0LWV4dHJhLWZpZWxkcy1pbi1hZG1pbi1ub3RpZmljYXRpb24tbWFpbD90bXBsPW1hcmtkb3du) 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: 86555
- Thank you received: 14304
-
-

14 years 4 months ago [\#56744](#56744) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: extra fields in admin notification mail](/forum/2-general-talk-about-hikashop/56584-extra-fields-in-admin-notification-mail#56744 "Hi,  how would I go about to have values of extra defined fields in the admin notification field (order&#95;admin&#95;notification.html.php) ?  cheers!  BC")*

You will have to edit the order admin notification email via the menu System-&gt;Emails and add some code like that:

&lt;?php
$class = hikashop_get('class.user');
$user = $class-&gt;get($data-&gt;order_user_id);
echo $user-&gt;ax_customer_code;
?&gt;

You can try to add it at the end for example.

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

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

Less More

- Posts: 41
- Thank you received: 0
-
-

14 years 4 months ago [\#57237](#57237) by [bcnx](/forum/user/7761-bcnx "View bcnx's Profile")  Replied by *[bcnx](/forum/user/7761-bcnx "View bcnx's Profile")* on topic *[Re: extra fields in admin notification mail](/forum/2-general-talk-about-hikashop/56584-extra-fields-in-admin-notification-mail#57237 "Hi,  how would I go about to have values of extra defined fields in the admin notification field (order&#95;admin&#95;notification.html.php) ?  cheers!  BC")*

Hi,

I entered this code at the desired location. The code is executed as the output of an extra "echo" command is shown, however it seems that the field's value is not shown. I suppose something is not quite right in the code?

thx,

BC

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

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

Less More

- Posts: 41
- Thank you received: 0
-
-

14 years 4 months ago [\#57241](#57241) by [bcnx](/forum/user/7761-bcnx "View bcnx's Profile")  Replied by *[bcnx](/forum/user/7761-bcnx "View bcnx's Profile")* on topic *[Re: extra fields in admin notification mail](/forum/2-general-talk-about-hikashop/56584-extra-fields-in-admin-notification-mail#57241 "Hi,  how would I go about to have values of extra defined fields in the admin notification field (order&#95;admin&#95;notification.html.php) ?  cheers!  BC")*

Wait a sec, utter brain-fart: I was testing with a user where this field was not filled in. DUH.

Works like a charm, cheers!

BC

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzU2NTg0LWV4dHJhLWZpZWxkcy1pbi1hZG1pbi1ub3RpZmljYXRpb24tbWFpbD90bXBsPW1hcmtkb3du) 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.080 seconds

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