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

#   Freigabemail bei Registrierung: Einfügen von Adressdaten

##

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

Less More

- Posts: 103
- Thank you received: 12
-

2 years 3 months ago -  2 years 3 months ago [\#362175](#362175) by [chli](/forum/user/64945-chli "View chli's Profile")  *[Freigabemail bei Registrierung: Einfügen von Adressdaten](/forum/33-customers/908407-freigabemail-bei-registrierung-einfuegen-von-adressdaten#362175 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 5.0.3  Hallo,  registriert sich ein neuer Kunden, wird bei uns vor der ersten Bestellung die Registrierung durch den Admin freigeschalten. Hierbei ist in der Mail an den Admin leider wenig Information zu dem neuen Kunden. Ich möchte seine Anschrift mit einfügen, so dass es für den Admin leichter ist, den neuen Kunden zuzuordnen.  Wie können Daten der Registrierung zusätzlich in die Freigabemail an den Admin eingefügt werden?  Grüße vom Christian  -----  Hello,  When a new customer registers, their registration is approved by the admin before the first order. Unfortunately, the email to the admin contains little information about the new customer. I would like to include their address so that it is easier for the admin to identify the new customer.  How can the registration data be added to the approval email sent to the admin?  Best regards, Christian")* was created by *[chli](/forum/user/64945-chli "View chli's Profile")*

-- HikaShop version -- : 5.0.4
-- Joomla version -- : 5.0.3

Hallo,

registriert sich ein neuer Kunden, wird bei uns vor der ersten Bestellung die Registrierung durch den Admin freigeschalten. Hierbei ist in der Mail an den Admin leider wenig Information zu dem neuen Kunden. Ich möchte seine Anschrift mit einfügen, so dass es für den Admin leichter ist, den neuen Kunden zuzuordnen.

Wie können Daten der Registrierung zusätzlich in die Freigabemail an den Admin eingefügt werden?

Grüße vom Christian

---

Hello,

When a new customer registers, their registration is approved by the admin before the first order. Unfortunately, the email to the admin contains little information about the new customer. I would like to include their address so that it is easier for the admin to identify the new customer.

How can the registration data be added to the approval email sent to the admin?

Best regards,
Christian

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2N1c3RvbWVycy85MDg0MDctZnJlaWdhYmVtYWlsLWJlaS1yZWdpc3RyaWVydW5nLWVpbmZ1ZWdlbi12b24tYWRyZXNzZGF0ZW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

2 years 3 months ago [\#362180](#362180) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Freigabemail bei Registrierung: Einfügen von Adressdaten](/forum/33-customers/908407-freigabemail-bei-registrierung-einfuegen-von-adressdaten#362180 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 5.0.3  Hallo,  registriert sich ein neuer Kunden, wird bei uns vor der ersten Bestellung die Registrierung durch den Admin freigeschalten. Hierbei ist in der Mail an den Admin leider wenig Information zu dem neuen Kunden. Ich möchte seine Anschrift mit einfügen, so dass es für den Admin leichter ist, den neuen Kunden zuzuordnen.  Wie können Daten der Registrierung zusätzlich in die Freigabemail an den Admin eingefügt werden?  Grüße vom Christian  -----  Hello,  When a new customer registers, their registration is approved by the admin before the first order. Unfortunately, the email to the admin contains little information about the new customer. I would like to include their address so that it is easier for the admin to identify the new customer.  How can the registration data be added to the approval email sent to the admin?  Best regards, Christian")*

Hi,

You can edit the "user account admin notification" email via the menu System&gt;Emails.
There, you can add extra PHP code.
For example: Code:

echo 'firstname: ' . $data-&gt;address_data-&gt;address_firstname. '&lt;br/&gt;'; echo 'lastname: ' . $data-&gt;address_data-&gt;address_lastname. '&lt;br/&gt;';

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2N1c3RvbWVycy85MDg0MDctZnJlaWdhYmVtYWlsLWJlaS1yZWdpc3RyaWVydW5nLWVpbmZ1ZWdlbi12b24tYWRyZXNzZGF0ZW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 103
- Thank you received: 12
-

2 years 3 months ago [\#362256](#362256) by [chli](/forum/user/64945-chli "View chli's Profile")  Replied by *[chli](/forum/user/64945-chli "View chli's Profile")* on topic *[Freigabemail bei Registrierung: Einfügen von Adressdaten](/forum/33-customers/908407-freigabemail-bei-registrierung-einfuegen-von-adressdaten#362256 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 5.0.3  Hallo,  registriert sich ein neuer Kunden, wird bei uns vor der ersten Bestellung die Registrierung durch den Admin freigeschalten. Hierbei ist in der Mail an den Admin leider wenig Information zu dem neuen Kunden. Ich möchte seine Anschrift mit einfügen, so dass es für den Admin leichter ist, den neuen Kunden zuzuordnen.  Wie können Daten der Registrierung zusätzlich in die Freigabemail an den Admin eingefügt werden?  Grüße vom Christian  -----  Hello,  When a new customer registers, their registration is approved by the admin before the first order. Unfortunately, the email to the admin contains little information about the new customer. I would like to include their address so that it is easier for the admin to identify the new customer.  How can the registration data be added to the approval email sent to the admin?  Best regards, Christian")*

Hello Nicolas,

Thank you for your feedback signal. Unfortunately I didn't describe the situation correctly.

The change you specified is great for the first notification that someone has newly registered (changes in the user account administrator notification area).

However, the customer is not automatically activated in our shop. The process is therefore:
1. Customer registers
2. Admin receives information and customer email to confirm his registration.
3. Customer confirms his registration
**4. Admin receives an email that the customer has confirmed his registration and can activate the customer using the attached link.**

In your description so far, the customer data is in the email from point 2. We need the customer details in the email to the admin from **point 4**. Is this possible?

Greetings from Christian

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2N1c3RvbWVycy85MDg0MDctZnJlaWdhYmVtYWlsLWJlaS1yZWdpc3RyaWVydW5nLWVpbmZ1ZWdlbi12b24tYWRyZXNzZGF0ZW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

2 years 3 months ago [\#362258](#362258) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Freigabemail bei Registrierung: Einfügen von Adressdaten](/forum/33-customers/908407-freigabemail-bei-registrierung-einfuegen-von-adressdaten#362258 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 5.0.3  Hallo,  registriert sich ein neuer Kunden, wird bei uns vor der ersten Bestellung die Registrierung durch den Admin freigeschalten. Hierbei ist in der Mail an den Admin leider wenig Information zu dem neuen Kunden. Ich möchte seine Anschrift mit einfügen, so dass es für den Admin leichter ist, den neuen Kunden zuzuordnen.  Wie können Daten der Registrierung zusätzlich in die Freigabemail an den Admin eingefügt werden?  Grüße vom Christian  -----  Hello,  When a new customer registers, their registration is approved by the admin before the first order. Unfortunately, the email to the admin contains little information about the new customer. I would like to include their address so that it is easier for the admin to identify the new customer.  How can the registration data be added to the approval email sent to the admin?  Best regards, Christian")*

Hi,

You read my message too fast.
There are two emails: "user account" and "user account admin notification".
If you add the code I gave in the "user account" email, then yes, it will affect the email from point 2.
However, I talked about the "user account admin notification" email in my message, and that's the one from point 4.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2N1c3RvbWVycy85MDg0MDctZnJlaWdhYmVtYWlsLWJlaS1yZWdpc3RyaWVydW5nLWVpbmZ1ZWdlbi12b24tYWRyZXNzZGF0ZW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 103
- Thank you received: 12
-

2 years 3 months ago [\#362292](#362292) by [chli](/forum/user/64945-chli "View chli's Profile")  Replied by *[chli](/forum/user/64945-chli "View chli's Profile")* on topic *[Freigabemail bei Registrierung: Einfügen von Adressdaten](/forum/33-customers/908407-freigabemail-bei-registrierung-einfuegen-von-adressdaten#362292 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 5.0.3  Hallo,  registriert sich ein neuer Kunden, wird bei uns vor der ersten Bestellung die Registrierung durch den Admin freigeschalten. Hierbei ist in der Mail an den Admin leider wenig Information zu dem neuen Kunden. Ich möchte seine Anschrift mit einfügen, so dass es für den Admin leichter ist, den neuen Kunden zuzuordnen.  Wie können Daten der Registrierung zusätzlich in die Freigabemail an den Admin eingefügt werden?  Grüße vom Christian  -----  Hello,  When a new customer registers, their registration is approved by the admin before the first order. Unfortunately, the email to the admin contains little information about the new customer. I would like to include their address so that it is easier for the admin to identify the new customer.  How can the registration data be added to the approval email sent to the admin?  Best regards, Christian")*

Hello,

Now I'm a bit confused: I entered the specified code in the "admin notification" area, for me the output is in the email point 2. I'm currently using Hika-Shop version 5.0.4, there is a change in newer versions ? Or have I misunderstood something else?
The question also arises for me as to whether the release link (point 4) is actually sent by Hika or whether it is an email from Joomla?

Greetings from Christian

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2N1c3RvbWVycy85MDg0MDctZnJlaWdhYmVtYWlsLWJlaS1yZWdpc3RyaWVydW5nLWVpbmZ1ZWdlbi12b24tYWRyZXNzZGF0ZW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

2 years 3 months ago [\#362296](#362296) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Freigabemail bei Registrierung: Einfügen von Adressdaten](/forum/33-customers/908407-freigabemail-bei-registrierung-einfuegen-von-adressdaten#362296 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 5.0.3  Hallo,  registriert sich ein neuer Kunden, wird bei uns vor der ersten Bestellung die Registrierung durch den Admin freigeschalten. Hierbei ist in der Mail an den Admin leider wenig Information zu dem neuen Kunden. Ich möchte seine Anschrift mit einfügen, so dass es für den Admin leichter ist, den neuen Kunden zuzuordnen.  Wie können Daten der Registrierung zusätzlich in die Freigabemail an den Admin eingefügt werden?  Grüße vom Christian  -----  Hello,  When a new customer registers, their registration is approved by the admin before the first order. Unfortunately, the email to the admin contains little information about the new customer. I would like to include their address so that it is easier for the admin to identify the new customer.  How can the registration data be added to the approval email sent to the admin?  Best regards, Christian")*

Hi,

This is definitely the email sent to the admin at point 4, not the email sent to the customer.
You can see it has the template "admin_notification", which is grey, while the emails sent to the customer use the "default" template, which is blue.
You can try with the "preview" button at the top of the page of your screenshot.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2N1c3RvbWVycy85MDg0MDctZnJlaWdhYmVtYWlsLWJlaS1yZWdpc3RyaWVydW5nLWVpbmZ1ZWdlbi12b24tYWRyZXNzZGF0ZW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 103
- Thank you received: 12
-

2 years 3 months ago [\#362319](#362319) by [chli](/forum/user/64945-chli "View chli's Profile")  Replied by *[chli](/forum/user/64945-chli "View chli's Profile")* on topic *[Freigabemail bei Registrierung: Einfügen von Adressdaten](/forum/33-customers/908407-freigabemail-bei-registrierung-einfuegen-von-adressdaten#362319 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 5.0.3  Hallo,  registriert sich ein neuer Kunden, wird bei uns vor der ersten Bestellung die Registrierung durch den Admin freigeschalten. Hierbei ist in der Mail an den Admin leider wenig Information zu dem neuen Kunden. Ich möchte seine Anschrift mit einfügen, so dass es für den Admin leichter ist, den neuen Kunden zuzuordnen.  Wie können Daten der Registrierung zusätzlich in die Freigabemail an den Admin eingefügt werden?  Grüße vom Christian  -----  Hello,  When a new customer registers, their registration is approved by the admin before the first order. Unfortunately, the email to the admin contains little information about the new customer. I would like to include their address so that it is easier for the admin to identify the new customer.  How can the registration data be added to the approval email sent to the admin?  Best regards, Christian")*

Hello Nicolas,

Now we have cleared up the misunderstanding:

Step 2 AND Step 4 are emails to AMDIN! At no time is it about emails to customers!

With the setting “admin_notification” only the email from step 2 to the ADMIN is set. This is simply information that a customer has registered.

Step 4 is ANOTHER E-MAIL TO THE ADMIN! The link is included here, with which the admin can then finally activate the customer.

What is important to me is the 2nd email (step 4) to the ADMIN, which contains the link for activating the customer.

Background:
We only want to unlock customers in our B2B shop who are already customers in our company. The admin should not have to laboriously clarify customer data in the Hika backend to activate it. The customer data in the admin email (step 4) can easily be compared with our company inventory.

Greetings from Christian

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2N1c3RvbWVycy85MDg0MDctZnJlaWdhYmVtYWlsLWJlaS1yZWdpc3RyaWVydW5nLWVpbmZ1ZWdlbi12b24tYWRyZXNzZGF0ZW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

2 years 3 months ago [\#362330](#362330) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Freigabemail bei Registrierung: Einfügen von Adressdaten](/forum/33-customers/908407-freigabemail-bei-registrierung-einfuegen-von-adressdaten#362330 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 5.0.3  Hallo,  registriert sich ein neuer Kunden, wird bei uns vor der ersten Bestellung die Registrierung durch den Admin freigeschalten. Hierbei ist in der Mail an den Admin leider wenig Information zu dem neuen Kunden. Ich möchte seine Anschrift mit einfügen, so dass es für den Admin leichter ist, den neuen Kunden zuzuordnen.  Wie können Daten der Registrierung zusätzlich in die Freigabemail an den Admin eingefügt werden?  Grüße vom Christian  -----  Hello,  When a new customer registers, their registration is approved by the admin before the first order. Unfortunately, the email to the admin contains little information about the new customer. I would like to include their address so that it is easier for the admin to identify the new customer.  How can the registration data be added to the approval email sent to the admin?  Best regards, Christian")*

Hi,

Ok, I think it's indeed clear now.
In your PDF, the first email is an email sent by HikaShop. And it looks like the "user account admin notification" email, which is sent to the admin in step 2.
The second email is the admin activation email, which is sent by Joomla on step 4, not HikaShop.
So you can't customize this email via the System&gt;Emails menu of HikaShop.
Instead, Joomla has an interface to customize its emails:
[ magazine.joomla.org/all-issues/february-...tml-email-templating](https://magazine.joomla.org/all-issues/february-2021/joomla-4-html-email-templating)
Someone else talks about doing the same thing as you want here:
[ forum.joomla.org/viewtopic.php?f=811&amp;p=3694490](https://forum.joomla.org/viewtopic.php?f=811&p=3694490)
But no one answered him as to how to do it.
Looking a bit in the code of the mail templating component of Joomla, it has an event called onMailBeforeTagsRendering($template_id, &amp;$mail) which can be implemented in a plugin of the group "system". The $template_id contains the id of the email template and $mail is an object with the data of the email. In it, you can add extra tags to the array Code:

$mail-&gt;params['tags']

Then, you can also implement the event onMailBeforeRendering($template_id, &amp;$tags) in that same plugin. The $template_id is still the id of the email template, and $tags is an array where the keys are the names of the tags and the values are the values to replace.
So it's not possible to do if you're not a developer. If you're a developer, with a bit of tinkering, you'll be able to do it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2N1c3RvbWVycy85MDg0MDctZnJlaWdhYmVtYWlsLWJlaS1yZWdpc3RyaWVydW5nLWVpbmZ1ZWdlbi12b24tYWRyZXNzZGF0ZW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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.075 seconds

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