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

#   Sending user details upon registration

##

- **[stefanobellu](/forum/user/35291-stefanobellu "View stefanobellu's Profile")**
- [![stefanobellu's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/blue_hikashop_heart.png)](/forum/user/35291-stefanobellu "View stefanobellu's Profile") Topic Author
- [ Offline](/forum/user/35291-stefanobellu)

Less More

- Posts: 27
- Thank you received: 2
-
-

11 years 9 months ago [\#186416](#186416) by [stefanobellu](/forum/user/35291-stefanobellu "View stefanobellu's Profile")  *[Sending user details upon registration](/forum/33-customers/874213-sending-user-details-upon-registration#186416 "-- url of the page with the problem -- :   www.olistikavetline.eu  -- HikaShop version -- : HikaShop Starter 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4 -- Error-message(debug-mod must be tuned on) -- : Sendmail upon user registration, including user's details  Hi again!  This time I was asked (..hm...maybe ordered!) by my client but couldn't find a solution.  here's the scenery:  A new user registers on our site (with Hikashop) Admin receives mail And this is ok, but the mail only contains few informations &quot;Hello administrator, A new user 'xxxx', username 'xxxxx', has registered at http://..../.&quot;  My boss wants to receive the details via mail, whicih means username address VAT (IVA) phone ecc...  How can this task be solved? Told him to go and searche for the user details, but it seems like 4 clicks can kill :(")* was created by *[stefanobellu](/forum/user/35291-stefanobellu "View stefanobellu's Profile")*

-- url of the page with the problem -- : [ www.olistikavetline.eu](http://www.olistikavetline.eu)
-- HikaShop version -- : HikaShop Starter 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4
-- Error-message(debug-mod must be tuned on) -- : Sendmail upon user registration, including user's details

Hi again!

This time I was asked (..hm...maybe ordered!) by my client but couldn't find a solution.

here's the scenery:

**A new user registers** on our site (with Hikashop)
**Admin receives mail**
And this is ok, but the mail only contains few informations
"Hello administrator,
A new user 'xxxx', username 'xxxxx', has registered at http://..../."

My boss wants to receive the details via mail, whicih means
username
address
VAT (IVA)
phone
ecc...

How can this task be solved?
Told him to go and searche for the user details, but it seems like 4 clicks can kill ![:(](/media/kunena/emoticons/5.png ":(")

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 9 months ago [\#186448](#186448) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Sending user details upon registration](/forum/33-customers/874213-sending-user-details-upon-registration#186448 "-- url of the page with the problem -- :   www.olistikavetline.eu  -- HikaShop version -- : HikaShop Starter 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4 -- Error-message(debug-mod must be tuned on) -- : Sendmail upon user registration, including user's details  Hi again!  This time I was asked (..hm...maybe ordered!) by my client but couldn't find a solution.  here's the scenery:  A new user registers on our site (with Hikashop) Admin receives mail And this is ok, but the mail only contains few informations &quot;Hello administrator, A new user 'xxxx', username 'xxxxx', has registered at http://..../.&quot;  My boss wants to receive the details via mail, whicih means username address VAT (IVA) phone ecc...  How can this task be solved? Told him to go and searche for the user details, but it seems like 4 clicks can kill :(")*

Hi,

You can edit the email "user_account_admin_notification" via the menu System &gt; Emails (business edition).
And in this email in the "$this-&gt;data" PHP object you will find all the desired informations. ![;)](/media/kunena/emoticons/11.png ";)")

The following user(s) said Thank You: [stefanobellu](/forum/user/35291-stefanobellu "View stefanobellu's Profile")

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

- **[stefanobellu](/forum/user/35291-stefanobellu "View stefanobellu's Profile")**
- [![stefanobellu's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/blue_hikashop_heart.png)](/forum/user/35291-stefanobellu "View stefanobellu's Profile") Topic Author
- [ Offline](/forum/user/35291-stefanobellu)

Less More

- Posts: 27
- Thank you received: 2
-
-

11 years 9 months ago [\#187012](#187012) by [stefanobellu](/forum/user/35291-stefanobellu "View stefanobellu's Profile")  Replied by *[stefanobellu](/forum/user/35291-stefanobellu "View stefanobellu's Profile")* on topic *[Sending user details upon registration](/forum/33-customers/874213-sending-user-details-upon-registration#187012 "-- url of the page with the problem -- :   www.olistikavetline.eu  -- HikaShop version -- : HikaShop Starter 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4 -- Error-message(debug-mod must be tuned on) -- : Sendmail upon user registration, including user's details  Hi again!  This time I was asked (..hm...maybe ordered!) by my client but couldn't find a solution.  here's the scenery:  A new user registers on our site (with Hikashop) Admin receives mail And this is ok, but the mail only contains few informations &quot;Hello administrator, A new user 'xxxx', username 'xxxxx', has registered at http://..../.&quot;  My boss wants to receive the details via mail, whicih means username address VAT (IVA) phone ecc...  How can this task be solved? Told him to go and searche for the user details, but it seems like 4 clicks can kill :(")*

Ok, here i am!
Went Business (feels like more I'm a Boss now!)

In the user_account_administrator_notification

i see

?&gt;&lt;?php
echo JText::sprintf(
'HIKA_USER_ACCOUNT_ADMIN_NOTIFICATION_BODY',
$data-&gt;name,
$data-&gt;username,
HIKASHOP_LIVE

Should I add
"$data-&gt;vat"?

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

- **[stefanobellu](/forum/user/35291-stefanobellu "View stefanobellu's Profile")**
- [![stefanobellu's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/blue_hikashop_heart.png)](/forum/user/35291-stefanobellu "View stefanobellu's Profile") Topic Author
- [ Offline](/forum/user/35291-stefanobellu)

Less More

- Posts: 27
- Thank you received: 2
-
-

11 years 9 months ago [\#187013](#187013) by [stefanobellu](/forum/user/35291-stefanobellu "View stefanobellu's Profile")  Replied by *[stefanobellu](/forum/user/35291-stefanobellu "View stefanobellu's Profile")* on topic *[Sending user details upon registration](/forum/33-customers/874213-sending-user-details-upon-registration#187013 "-- url of the page with the problem -- :   www.olistikavetline.eu  -- HikaShop version -- : HikaShop Starter 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4 -- Error-message(debug-mod must be tuned on) -- : Sendmail upon user registration, including user's details  Hi again!  This time I was asked (..hm...maybe ordered!) by my client but couldn't find a solution.  here's the scenery:  A new user registers on our site (with Hikashop) Admin receives mail And this is ok, but the mail only contains few informations &quot;Hello administrator, A new user 'xxxx', username 'xxxxx', has registered at http://..../.&quot;  My boss wants to receive the details via mail, whicih means username address VAT (IVA) phone ecc...  How can this task be solved? Told him to go and searche for the user details, but it seems like 4 clicks can kill :(")*

By the way, is there a way to add the VAT or NIN in the "admin email notification of the order?"

thanks again

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 9 months ago [\#187018](#187018) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Sending user details upon registration](/forum/33-customers/874213-sending-user-details-upon-registration#187018 "-- url of the page with the problem -- :   www.olistikavetline.eu  -- HikaShop version -- : HikaShop Starter 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4 -- Error-message(debug-mod must be tuned on) -- : Sendmail upon user registration, including user's details  Hi again!  This time I was asked (..hm...maybe ordered!) by my client but couldn't find a solution.  here's the scenery:  A new user registers on our site (with Hikashop) Admin receives mail And this is ok, but the mail only contains few informations &quot;Hello administrator, A new user 'xxxx', username 'xxxxx', has registered at http://..../.&quot;  My boss wants to receive the details via mail, whicih means username address VAT (IVA) phone ecc...  How can this task be solved? Told him to go and searche for the user details, but it seems like 4 clicks can kill :(")*

Hi,

Yes you can add $data-&gt;vat, but you will have to edit the translation value for the key "HIKA_USER_ACCOUNT_ADMIN_NOTIFICATION_BODY" in the language file in order to add another %s to display that value.

To add data to the admin notification email you can edit the mail "order_admin_notifiication".

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

- **[stefanobellu](/forum/user/35291-stefanobellu "View stefanobellu's Profile")**
- [![stefanobellu's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/blue_hikashop_heart.png)](/forum/user/35291-stefanobellu "View stefanobellu's Profile") Topic Author
- [ Offline](/forum/user/35291-stefanobellu)

Less More

- Posts: 27
- Thank you received: 2
-
-

11 years 9 months ago [\#187436](#187436) by [stefanobellu](/forum/user/35291-stefanobellu "View stefanobellu's Profile")  Replied by *[stefanobellu](/forum/user/35291-stefanobellu "View stefanobellu's Profile")* on topic *[Sending user details upon registration](/forum/33-customers/874213-sending-user-details-upon-registration#187436 "-- url of the page with the problem -- :   www.olistikavetline.eu  -- HikaShop version -- : HikaShop Starter 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4 -- Error-message(debug-mod must be tuned on) -- : Sendmail upon user registration, including user's details  Hi again!  This time I was asked (..hm...maybe ordered!) by my client but couldn't find a solution.  here's the scenery:  A new user registers on our site (with Hikashop) Admin receives mail And this is ok, but the mail only contains few informations &quot;Hello administrator, A new user 'xxxx', username 'xxxxx', has registered at http://..../.&quot;  My boss wants to receive the details via mail, whicih means username address VAT (IVA) phone ecc...  How can this task be solved? Told him to go and searche for the user details, but it seems like 4 clicks can kill :(")*

Hi Xavier, thanks for the help.
Yet, I couldln't succeed in putting the VAT in the "admin order notification"

This is the part of code in which I tried to put it, but couldn't guess the proper code to add (tried {$data-&gt;VAT} and so on, but didn't work)

&lt;tr&gt;
&lt;!--{IF:BILLING_ADDRESS}--&gt;
&lt;td&gt;{VAR:BILLING_ADDRESS}&lt;/td&gt;&lt;!--{ENDIF:BILLING_ADDRESS}--&gt;
&lt;!--{IF:SHIPPING}--&gt;&lt;!--{IF:SHIPPING_ADDRESS}--&gt;&lt;td&gt;{VAR:SHIPPING_ADDRESS}&lt;/td&gt;&lt;!--{ENDIF:SHIPPING_ADDRESS}--&gt;&lt;!--{ENDIF:SHIPPING}--&gt;
&lt;/tr&gt;

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 9 months ago [\#187518](#187518) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Sending user details upon registration](/forum/33-customers/874213-sending-user-details-upon-registration#187518 "-- url of the page with the problem -- :   www.olistikavetline.eu  -- HikaShop version -- : HikaShop Starter 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4 -- Error-message(debug-mod must be tuned on) -- : Sendmail upon user registration, including user's details  Hi again!  This time I was asked (..hm...maybe ordered!) by my client but couldn't find a solution.  here's the scenery:  A new user registers on our site (with Hikashop) Admin receives mail And this is ok, but the mail only contains few informations &quot;Hello administrator, A new user 'xxxx', username 'xxxxx', has registered at http://..../.&quot;  My boss wants to receive the details via mail, whicih means username address VAT (IVA) phone ecc...  How can this task be solved? Told him to go and searche for the user details, but it seems like 4 clicks can kill :(")*

Hi,

Why are you talking about the "admin order notification" ?
The email is when a user is registering so it is the email : "user_account_administrator_notification" (like it was written several times in this thread).

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

- **[stefanobellu](/forum/user/35291-stefanobellu "View stefanobellu's Profile")**
- [![stefanobellu's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/blue_hikashop_heart.png)](/forum/user/35291-stefanobellu "View stefanobellu's Profile") Topic Author
- [ Offline](/forum/user/35291-stefanobellu)

Less More

- Posts: 27
- Thank you received: 2
-
-

11 years 9 months ago [\#187603](#187603) by [stefanobellu](/forum/user/35291-stefanobellu "View stefanobellu's Profile")  Replied by *[stefanobellu](/forum/user/35291-stefanobellu "View stefanobellu's Profile")* on topic *[Sending user details upon registration](/forum/33-customers/874213-sending-user-details-upon-registration#187603 "-- url of the page with the problem -- :   www.olistikavetline.eu  -- HikaShop version -- : HikaShop Starter 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4 -- Error-message(debug-mod must be tuned on) -- : Sendmail upon user registration, including user's details  Hi again!  This time I was asked (..hm...maybe ordered!) by my client but couldn't find a solution.  here's the scenery:  A new user registers on our site (with Hikashop) Admin receives mail And this is ok, but the mail only contains few informations &quot;Hello administrator, A new user 'xxxx', username 'xxxxx', has registered at http://..../.&quot;  My boss wants to receive the details via mail, whicih means username address VAT (IVA) phone ecc...  How can this task be solved? Told him to go and searche for the user details, but it seems like 4 clicks can kill :(")*

> stefanobellu wrote: By the way, is there a way to add the VAT or NIN in the "admin email notification of the order?"
>
> thanks again

Hi Jerome, it was about this

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 9 months ago [\#187662](#187662) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Sending user details upon registration](/forum/33-customers/874213-sending-user-details-upon-registration#187662 "-- url of the page with the problem -- :   www.olistikavetline.eu  -- HikaShop version -- : HikaShop Starter 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4 -- Error-message(debug-mod must be tuned on) -- : Sendmail upon user registration, including user's details  Hi again!  This time I was asked (..hm...maybe ordered!) by my client but couldn't find a solution.  here's the scenery:  A new user registers on our site (with Hikashop) Admin receives mail And this is ok, but the mail only contains few informations &quot;Hello administrator, A new user 'xxxx', username 'xxxxx', has registered at http://..../.&quot;  My boss wants to receive the details via mail, whicih means username address VAT (IVA) phone ecc...  How can this task be solved? Told him to go and searche for the user details, but it seems like 4 clicks can kill :(")*

Hi,

If you want to display easily some user custom field in the email, the best is to modify the preload and then use the tags in the HTML part.
You can see this post for more details about it:
[ www.hikashop.com/forum/orders-management...o-emails.html#185664](http://www.hikashop.com/forum/orders-management/872113-adding-custom-order-field-to-emails.html#185664)

The notification emails already allow to display the data from the "order", "billing_address", "shipping_address".
The user will be added in the next release ; it was something missing (but the process to add it before that is explained in the other thread).

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [stefanobellu](/forum/user/35291-stefanobellu "View stefanobellu's Profile")

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

- **[stefanobellu](/forum/user/35291-stefanobellu "View stefanobellu's Profile")**
- [![stefanobellu's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/blue_hikashop_heart.png)](/forum/user/35291-stefanobellu "View stefanobellu's Profile") Topic Author
- [ Offline](/forum/user/35291-stefanobellu)

Less More

- Posts: 27
- Thank you received: 2
-
-

11 years 9 months ago [\#187730](#187730) by [stefanobellu](/forum/user/35291-stefanobellu "View stefanobellu's Profile")  Replied by *[stefanobellu](/forum/user/35291-stefanobellu "View stefanobellu's Profile")* on topic *[Sending user details upon registration](/forum/33-customers/874213-sending-user-details-upon-registration#187730 "-- url of the page with the problem -- :   www.olistikavetline.eu  -- HikaShop version -- : HikaShop Starter 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4 -- Error-message(debug-mod must be tuned on) -- : Sendmail upon user registration, including user's details  Hi again!  This time I was asked (..hm...maybe ordered!) by my client but couldn't find a solution.  here's the scenery:  A new user registers on our site (with Hikashop) Admin receives mail And this is ok, but the mail only contains few informations &quot;Hello administrator, A new user 'xxxx', username 'xxxxx', has registered at http://..../.&quot;  My boss wants to receive the details via mail, whicih means username address VAT (IVA) phone ecc...  How can this task be solved? Told him to go and searche for the user details, but it seems like 4 clicks can kill :(")*

I tried adding 'user' =&gt; $userInfos,
in the preload
and added
{VAR:user.mycustomfieldname}
in the html, but nothing shows up in the email.

All I need, is to show the VAT in the Admin Notification email, nothing more, but can't find a way
It's been 3 days since I first posted the help request, I would need to fix it as quickly as possible since the client is getting impatient

Thanks in advance

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84NzQyMTMtc2VuZGluZy11c2VyLWRldGFpbHMtdXBvbi1yZWdpc3RyYXRpb24/dG1wbD1tYXJrZG93bg==) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 9 months ago [\#187737](#187737) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Sending user details upon registration](/forum/33-customers/874213-sending-user-details-upon-registration#187737 "-- url of the page with the problem -- :   www.olistikavetline.eu  -- HikaShop version -- : HikaShop Starter 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4 -- Error-message(debug-mod must be tuned on) -- : Sendmail upon user registration, including user's details  Hi again!  This time I was asked (..hm...maybe ordered!) by my client but couldn't find a solution.  here's the scenery:  A new user registers on our site (with Hikashop) Admin receives mail And this is ok, but the mail only contains few informations &quot;Hello administrator, A new user 'xxxx', username 'xxxxx', has registered at http://..../.&quot;  My boss wants to receive the details via mail, whicih means username address VAT (IVA) phone ecc...  How can this task be solved? Told him to go and searche for the user details, but it seems like 4 clicks can kill :(")*

Hi,

That's the correct way of doing it.
I see however that you're talking about adding the VAT ? I suppose that you're talking about the VAT number of the user, and in that case, I suppose that you're using the "address_vat" field which is provided by default by HikaShop so that you can configure the tax rules based on it.
This field is a custom address field, not a custom user field. So even though your code would be correct to display a custom user field, it won't help for that address_vat field.
Instead, you should edit the files "address_template" of both your frontend and backend template via the menu Display-&gt;Views and add the tag {address_vat} into them and it will then work.

Note that if you need a quick solution to your issues, the best is that you provide precise information on what you want to do (here, a screenshot of your custom fields options screen would have allowed us to directly tell you what I just wrote if your custom field was of the type address, which I'm still guessing here).

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

- **[stefanobellu](/forum/user/35291-stefanobellu "View stefanobellu's Profile")**
- [![stefanobellu's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/blue_hikashop_heart.png)](/forum/user/35291-stefanobellu "View stefanobellu's Profile") Topic Author
- [ Offline](/forum/user/35291-stefanobellu)

Less More

- Posts: 27
- Thank you received: 2
-
-

11 years 9 months ago [\#187827](#187827) by [stefanobellu](/forum/user/35291-stefanobellu "View stefanobellu's Profile")  Replied by *[stefanobellu](/forum/user/35291-stefanobellu "View stefanobellu's Profile")* on topic *[Sending user details upon registration](/forum/33-customers/874213-sending-user-details-upon-registration#187827 "-- url of the page with the problem -- :   www.olistikavetline.eu  -- HikaShop version -- : HikaShop Starter 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4 -- Error-message(debug-mod must be tuned on) -- : Sendmail upon user registration, including user's details  Hi again!  This time I was asked (..hm...maybe ordered!) by my client but couldn't find a solution.  here's the scenery:  A new user registers on our site (with Hikashop) Admin receives mail And this is ok, but the mail only contains few informations &quot;Hello administrator, A new user 'xxxx', username 'xxxxx', has registered at http://..../.&quot;  My boss wants to receive the details via mail, whicih means username address VAT (IVA) phone ecc...  How can this task be solved? Told him to go and searche for the user details, but it seems like 4 clicks can kill :(")*

You are right, I was in such a hurry that I didn't even realize that I was the one confusing!

Here comes a clarifying screenshot of my needs

[ ![email&#95;order&#95;administrator&#95;mail&#95;ordine.jpg](/forum/attachment/21866) ](/forum/attachment/21866 "...ail&#95;ordine.jpg")

My customers add the VAT code/NIN when they register in the field "address_vat" (address table) and that's what I would need to show.

So if I'm getting it right, I should go to:
Display-&gt;Views-&gt;address_template (both frontend and backend), and add {address_vat}

right?

- [ ![email&#95;order&#95;administrator&#95;mail&#95;ordine.jpg](/forum/attachment/21866) ](/forum/attachment/21866 "...ail&#95;ordine.jpg") [ ](/forum/attachment/21866?download=1 "...ail&#95;ordine.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84NzQyMTMtc2VuZGluZy11c2VyLWRldGFpbHMtdXBvbi1yZWdpc3RyYXRpb24/dG1wbD1tYXJrZG93bg==) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 9 months ago [\#187896](#187896) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Sending user details upon registration](/forum/33-customers/874213-sending-user-details-upon-registration#187896 "-- url of the page with the problem -- :   www.olistikavetline.eu  -- HikaShop version -- : HikaShop Starter 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4 -- Error-message(debug-mod must be tuned on) -- : Sendmail upon user registration, including user's details  Hi again!  This time I was asked (..hm...maybe ordered!) by my client but couldn't find a solution.  here's the scenery:  A new user registers on our site (with Hikashop) Admin receives mail And this is ok, but the mail only contains few informations &quot;Hello administrator, A new user 'xxxx', username 'xxxxx', has registered at http://..../.&quot;  My boss wants to receive the details via mail, whicih means username address VAT (IVA) phone ecc...  How can this task be solved? Told him to go and searche for the user details, but it seems like 4 clicks can kill :(")*

That's right

The following user(s) said Thank You: [stefanobellu](/forum/user/35291-stefanobellu "View stefanobellu's Profile")

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

- **[stefanobellu](/forum/user/35291-stefanobellu "View stefanobellu's Profile")**
- [![stefanobellu's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/blue_hikashop_heart.png)](/forum/user/35291-stefanobellu "View stefanobellu's Profile") Topic Author
- [ Offline](/forum/user/35291-stefanobellu)

Less More

- Posts: 27
- Thank you received: 2
-
-

11 years 9 months ago [\#188398](#188398) by [stefanobellu](/forum/user/35291-stefanobellu "View stefanobellu's Profile")  Replied by *[stefanobellu](/forum/user/35291-stefanobellu "View stefanobellu's Profile")* on topic *[Sending user details upon registration](/forum/33-customers/874213-sending-user-details-upon-registration#188398 "-- url of the page with the problem -- :   www.olistikavetline.eu  -- HikaShop version -- : HikaShop Starter 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4 -- Error-message(debug-mod must be tuned on) -- : Sendmail upon user registration, including user's details  Hi again!  This time I was asked (..hm...maybe ordered!) by my client but couldn't find a solution.  here's the scenery:  A new user registers on our site (with Hikashop) Admin receives mail And this is ok, but the mail only contains few informations &quot;Hello administrator, A new user 'xxxx', username 'xxxxx', has registered at http://..../.&quot;  My boss wants to receive the details via mail, whicih means username address VAT (IVA) phone ecc...  How can this task be solved? Told him to go and searche for the user details, but it seems like 4 clicks can kill :(")*

Yes everybody, that really worked!

Now....if I want to show the same data to the "User account administrator notification"?

I did try something but the mail stopped working so I had to remove the customizations ![:(](/media/kunena/emoticons/5.png ":(")
gotta increase my php skils...a lot..

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 8 months ago [\#188425](#188425) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Sending user details upon registration](/forum/33-customers/874213-sending-user-details-upon-registration#188425 "-- url of the page with the problem -- :   www.olistikavetline.eu  -- HikaShop version -- : HikaShop Starter 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4 -- Error-message(debug-mod must be tuned on) -- : Sendmail upon user registration, including user's details  Hi again!  This time I was asked (..hm...maybe ordered!) by my client but couldn't find a solution.  here's the scenery:  A new user registers on our site (with Hikashop) Admin receives mail And this is ok, but the mail only contains few informations &quot;Hello administrator, A new user 'xxxx', username 'xxxxx', has registered at http://..../.&quot;  My boss wants to receive the details via mail, whicih means username address VAT (IVA) phone ecc...  How can this task be solved? Told him to go and searche for the user details, but it seems like 4 clicks can kill :(")*

Hi,

The email "User account administrator notification" is quite lite and does not have the same kind of "preload" part.
So even the HTML or the Text version are in PHP and does not handle the tag replacement elements.

But in the variable Code:

$data-&gt;address_data

You will find the content of the user address if the user have fill such kind of information during his registration.
But I fully admit that the current email is pretty raw compared to the other HikaShop emails.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

[](#top)
