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

#   How can I modify the User account notification to Administrator?

##

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

Less More

- Posts: 8
- Thank you received: 0
-
-

5 years 3 days ago [\#337348](#337348) by [psteinhilber](/forum/user/61955-psteinhilber "View psteinhilber's Profile")  *[How can I modify the User account notification to Administrator?](/forum/33-customers/903539-how-can-i-modify-the-user-account-notification-to-administrator#337348 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.10.3 -- PHP version -- : 7.4 -- Browser(s) name and version -- : Firefox 94.01  Hello,  I was wondering, how I can modify the user account notification to administrator because we need all information about the registered user to make manual activation.  I tried really hard to make these changes in the Systems Email tab and i have modified the content:  ----- name, $data-&gt;email, $data-&gt;address&#95;company, $data-&gt;address&#95;title, $data-&gt;address&#95;firstname, $data-&gt;address&#95;lastname , $data-&gt;address&#95;street, $data-&gt;address&#95;post&#95;code, $data-&gt;address&#95;city, $data-&gt;address&#95;country, $data-&gt;address&#95;telephone, $data-&gt;address&#95;vat, $data-&gt;customerno,  HIKASHOP&#95;LIVE );  ----  But in the Preview and my Mailbox I geht only a short Email:  How can this be done in Hikashop?  Regards  Peter  PS: Paid Hikshop Business Version")* was created by *[psteinhilber](/forum/user/61955-psteinhilber "View psteinhilber's Profile")*

-- HikaShop version -- : 4.4.4
-- Joomla version -- : 3.10.3
-- PHP version -- : 7.4
-- Browser(s) name and version -- : Firefox 94.01

Hello,

I was wondering, how I can modify the user account notification to administrator because we need all information about the registered user to make manual activation.

I tried really hard to make these changes in the Systems Email tab and i have modified the content:

---

&lt;?php
/**
* @package HikaShop for Joomla!
* @version 4.4.4
* @author hikashop.com
* @copyright (C) 2010-2021 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 [ www.gnu.org/licenses/gpl-3.0.html](http://www.gnu.org/licenses/gpl-3.0.html)
*/
defined('_JEXEC') or die('Restricted access');
?&gt;&lt;?php
echo JText::sprintf(
'HIKA_USER_ACCOUNT_ADMIN_NOTIFICATION_BODY',
$data-&gt;name,
$data-&gt;email,
$data-&gt;address_company,
$data-&gt;address_title,
$data-&gt;address_firstname,
$data-&gt;address_lastname ,
$data-&gt;address_street,
$data-&gt;address_post_code,
$data-&gt;address_city,
$data-&gt;address_country,
$data-&gt;address_telephone,
$data-&gt;address_vat,
$data-&gt;customerno,

HIKASHOP_LIVE
);

----

But in the Preview and my Mailbox I geht only a short Email:

How can this be done in Hikashop?

Regards

Peter

PS: Paid Hikshop Business Version

- [ ![Bildschirmfoto2021-11-23um18.58.32&#95;2021-11-23.png](/forum/attachment/53913) ](/forum/attachment/53913 "...2021-11-23.png") [ ](/forum/attachment/53913?download=1 "...2021-11-23.png")

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

5 years 3 days ago [\#337350](#337350) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How can I modify the User account notification to Administrator?](/forum/33-customers/903539-how-can-i-modify-the-user-account-notification-to-administrator#337350 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.10.3 -- PHP version -- : 7.4 -- Browser(s) name and version -- : Firefox 94.01  Hello,  I was wondering, how I can modify the user account notification to administrator because we need all information about the registered user to make manual activation.  I tried really hard to make these changes in the Systems Email tab and i have modified the content:  ----- name, $data-&gt;email, $data-&gt;address&#95;company, $data-&gt;address&#95;title, $data-&gt;address&#95;firstname, $data-&gt;address&#95;lastname , $data-&gt;address&#95;street, $data-&gt;address&#95;post&#95;code, $data-&gt;address&#95;city, $data-&gt;address&#95;country, $data-&gt;address&#95;telephone, $data-&gt;address&#95;vat, $data-&gt;customerno,  HIKASHOP&#95;LIVE );  ----  But in the Preview and my Mailbox I geht only a short Email:  How can this be done in Hikashop?  Regards  Peter  PS: Paid Hikshop Business Version")*

Hi,

You can't do it like that.
Instead, you can add such lines of code: Code:

echo $data-&gt;address_data-&gt;address_title;

Code:

echo $data-&gt;address_data-&gt;address_firstname;

etc after the );

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

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

Less More

- Posts: 8
- Thank you received: 0
-
-

5 years 2 days ago [\#337360](#337360) by [psteinhilber](/forum/user/61955-psteinhilber "View psteinhilber's Profile")  Replied by *[psteinhilber](/forum/user/61955-psteinhilber "View psteinhilber's Profile")* on topic *[How can I modify the User account notification to Administrator?](/forum/33-customers/903539-how-can-i-modify-the-user-account-notification-to-administrator#337360 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.10.3 -- PHP version -- : 7.4 -- Browser(s) name and version -- : Firefox 94.01  Hello,  I was wondering, how I can modify the user account notification to administrator because we need all information about the registered user to make manual activation.  I tried really hard to make these changes in the Systems Email tab and i have modified the content:  ----- name, $data-&gt;email, $data-&gt;address&#95;company, $data-&gt;address&#95;title, $data-&gt;address&#95;firstname, $data-&gt;address&#95;lastname , $data-&gt;address&#95;street, $data-&gt;address&#95;post&#95;code, $data-&gt;address&#95;city, $data-&gt;address&#95;country, $data-&gt;address&#95;telephone, $data-&gt;address&#95;vat, $data-&gt;customerno,  HIKASHOP&#95;LIVE );  ----  But in the Preview and my Mailbox I geht only a short Email:  How can this be done in Hikashop?  Regards  Peter  PS: Paid Hikshop Business Version")*

Hello,

Thank you for the fast response.

Now I have added this codelines to the template, but I didn't get the information in the Mailpreview:

---

&lt;?php
/**
* @package HikaShop for Joomla!
* @version 4.4.4
* @author hikashop.com
* @copyright (C) 2010-2021 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 [ www.gnu.org/licenses/gpl-3.0.html](http://www.gnu.org/licenses/gpl-3.0.html)
*/
defined('_JEXEC') or die('Restricted access');
?&gt;&lt;?php
echo JText::sprintf(
'HIKA_USER_ACCOUNT_ADMIN_NOTIFICATION_BODY',
$data-&gt;name,
$data-&gt;email,

HIKASHOP_LIVE
);

echo $data-&gt;address_data-&gt;address_company;
echo $data-&gt;address_data-&gt;address_title;
echo $data-&gt;address_data-&gt;address_firstname;
echo $data-&gt;address_data-&gt;address_lastname;
echo $data-&gt;address_data-&gt;address_street;
echo $data-&gt;address_data-&gt;address_postcode;
echo $data-&gt;address_data-&gt;address_city;
echo $data-&gt;address_data-&gt;address_country;
echo $data-&gt;address_data-&gt;address_telephone;
echo $data-&gt;address_data-&gt;address_vat;
echo $data-&gt;address_data-&gt;address_customerno;

---

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

5 years 2 days ago [\#337363](#337363) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How can I modify the User account notification to Administrator?](/forum/33-customers/903539-how-can-i-modify-the-user-account-notification-to-administrator#337363 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.10.3 -- PHP version -- : 7.4 -- Browser(s) name and version -- : Firefox 94.01  Hello,  I was wondering, how I can modify the user account notification to administrator because we need all information about the registered user to make manual activation.  I tried really hard to make these changes in the Systems Email tab and i have modified the content:  ----- name, $data-&gt;email, $data-&gt;address&#95;company, $data-&gt;address&#95;title, $data-&gt;address&#95;firstname, $data-&gt;address&#95;lastname , $data-&gt;address&#95;street, $data-&gt;address&#95;post&#95;code, $data-&gt;address&#95;city, $data-&gt;address&#95;country, $data-&gt;address&#95;telephone, $data-&gt;address&#95;vat, $data-&gt;customerno,  HIKASHOP&#95;LIVE );  ----  But in the Preview and my Mailbox I geht only a short Email:  How can this be done in Hikashop?  Regards  Peter  PS: Paid Hikshop Business Version")*

Hi,

Well, the preview doesn't provide the address data, since it's normally not needed by the email.
If you want to see if the code works or not, you need to do a real test with a real registration.

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

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