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

#   Custom field in order confirmation mail to administrator

##

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

Less More

- Posts: 82
- Thank you received: 1
-
-

5 years 3 weeks ago [\#336332](#336332) by [lensky](/forum/user/8015-lensky "View lensky's Profile")  *[Custom field in order confirmation mail to administrator](/forum/35-orders-management/903317-custom-field-in-order-confirmation-mail-to-administrator#336332 "-- url of the page with the problem -- : catalogo.uniontrade.info -- HikaShop version -- : 4.4.2 -- Joomla version -- : 3.10.2 -- PHP version -- : 7.3.31  Hi, I've added some custom fields in the registration form (see attached). How can I display the field 'user&#95;tipo&#95;attivita' in the mail I receive when a order is sent? I need it because it change the way I answer, and now I always have to go to details page of the customer. thank you Elena")* was created by *[lensky](/forum/user/8015-lensky "View lensky's Profile")*

-- url of the page with the problem -- : catalogo.uniontrade.info
-- HikaShop version -- : 4.4.2
-- Joomla version -- : 3.10.2
-- PHP version -- : 7.3.31

Hi,
I've added some custom fields in the registration form (see attached). How can I display the field 'user_tipo_attivita' in the mail I receive when a order is sent? I need it because it change the way I answer, and now I always have to go to details page of the customer.
thank you
Elena

- [ ![user-field.jpg](/forum/attachment/53696) ](/forum/attachment/53696 "user-field.jpg") [ ](/forum/attachment/53696?download=1 "user-field.jpg")

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

5 years 3 weeks ago -  5 years 3 weeks ago [\#336335](#336335) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Custom field in order confirmation mail to administrator](/forum/35-orders-management/903317-custom-field-in-order-confirmation-mail-to-administrator#336335 "-- url of the page with the problem -- : catalogo.uniontrade.info -- HikaShop version -- : 4.4.2 -- Joomla version -- : 3.10.2 -- PHP version -- : 7.3.31  Hi, I've added some custom fields in the registration form (see attached). How can I display the field 'user&#95;tipo&#95;attivita' in the mail I receive when a order is sent? I need it because it change the way I answer, and now I always have to go to details page of the customer. thank you Elena")*

Hello,

In your email, you will find some notice information about how to add elements (even custom fields), see my screenshot :
[ ![alt](https://i.ibb.co/BB38Mcj/cf-email.png) ](https://i.ibb.co/BB38Mcj/cf-email.png "alt")

**Concrete example :**
**{LINEVAR:USER.*user\_tipo\_attivita*}**

Hope this will allow you to achieved your needs.
Regards

Last edit: 5 years 3 weeks ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 82
- Thank you received: 1
-
-

5 years 3 weeks ago [\#336397](#336397) by [lensky](/forum/user/8015-lensky "View lensky's Profile")  Replied by *[lensky](/forum/user/8015-lensky "View lensky's Profile")* on topic *[Custom field in order confirmation mail to administrator](/forum/35-orders-management/903317-custom-field-in-order-confirmation-mail-to-administrator#336397 "-- url of the page with the problem -- : catalogo.uniontrade.info -- HikaShop version -- : 4.4.2 -- Joomla version -- : 3.10.2 -- PHP version -- : 7.3.31  Hi, I've added some custom fields in the registration form (see attached). How can I display the field 'user&#95;tipo&#95;attivita' in the mail I receive when a order is sent? I need it because it change the way I answer, and now I always have to go to details page of the customer. thank you Elena")*

Hi, thank you for your answer, I tried to do what you suggested but I still get no results.
As you can see in the screenshot I added the {LINEVAR:USER.user_tipo_attivita} code in different places but the mail I receive (attached) don't show the field (I should see 'BUBBLE TEA SHOP' in this case, 3 times...)

Sorry to bother you but I really don't understand what I'm doing wrong.
thank you
Elena

- [ ![Uniontrade-Amministrazione-E-mail.png](/forum/attachment/53705) ](/forum/attachment/53705 "...one-E-mail.png") [ ](/forum/attachment/53705?download=1 "...one-E-mail.png")
- [ ![mail.jpg](/forum/attachment/53706) ](/forum/attachment/53706 "mail.jpg") [ ](/forum/attachment/53706?download=1 "mail.jpg")

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

5 years 3 weeks ago -  5 years 3 weeks ago [\#336401](#336401) 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 in order confirmation mail to administrator](/forum/35-orders-management/903317-custom-field-in-order-confirmation-mail-to-administrator#336401 "-- url of the page with the problem -- : catalogo.uniontrade.info -- HikaShop version -- : 4.4.2 -- Joomla version -- : 3.10.2 -- PHP version -- : 7.3.31  Hi, I've added some custom fields in the registration form (see attached). How can I display the field 'user&#95;tipo&#95;attivita' in the mail I receive when a order is sent? I need it because it change the way I answer, and now I always have to go to details page of the customer. thank you Elena")*

Hi,

Philippe made a typo, it should be {VAR:customer.user_tipo_attivita} not {LINEVAR:USER.user_tipo_attivita}
Please try like that.

Last edit: 5 years 3 weeks ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

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

Less More

- Posts: 82
- Thank you received: 1
-
-

5 years 3 weeks ago [\#336417](#336417) by [lensky](/forum/user/8015-lensky "View lensky's Profile")  Replied by *[lensky](/forum/user/8015-lensky "View lensky's Profile")* on topic *[Custom field in order confirmation mail to administrator](/forum/35-orders-management/903317-custom-field-in-order-confirmation-mail-to-administrator#336417 "-- url of the page with the problem -- : catalogo.uniontrade.info -- HikaShop version -- : 4.4.2 -- Joomla version -- : 3.10.2 -- PHP version -- : 7.3.31  Hi, I've added some custom fields in the registration form (see attached). How can I display the field 'user&#95;tipo&#95;attivita' in the mail I receive when a order is sent? I need it because it change the way I answer, and now I always have to go to details page of the customer. thank you Elena")*

Thank you so much, now it works fine!

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

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