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

#   Second order no address details in adm. email

##

- **[didero](/forum/user/1276-didero "View didero's Profile")**
- [![didero's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1276.jpg)](/forum/user/1276-didero "View didero's Profile") Topic Author
- [ Offline](/forum/user/1276-didero)

Less More

- Posts: 66
- Thank you received: 3
-
-
-
- [](http://www.1968dewinkel.nl)
-

15 years 6 months ago -  15 years 6 months ago [\#15968](#15968) by [didero](/forum/user/1276-didero "View didero's Profile")  *[Second order no address details in adm. email](/forum/3-bug-report/15968-second-order-no-address-details-in-adm-email#15968 "As I stated in my earlier post about including custom fields in emails  everything seemed to work fine.  But there is a problem. If an user is still logged in and makes a second order the conformation email to the administrator does not contain the shipping or order address details. Even if I set the Order administrator notification to its default settings.  Any idea?")* was created by *[didero](/forum/user/1276-didero "View didero's Profile")*

As I stated in my earlier post about including custom fields in emails

[ ](http://www.hikashop.com/en/support/forum/4-how-to/15738-how-to-include-a-custom-field-in-emails.html)[ www.hikashop.com/en/support/forum/4-how-...field-in-emails.html](http://www.hikashop.com/en/support/forum/4-how-to/15738-how-to-include-a-custom-field-in-emails.html)

everything seemed to work fine.

But there is a problem. If an user is still logged in and makes a second order the conformation email to the administrator does not contain the shipping or order address details. Even if I set the Order administrator notification to its default settings.

Any idea?

---

[ ](http://www.didero.nl)[ www.didero.nl](http://www.didero.nl)

Last edit: 15 years 6 months ago by [didero](/forum/user/1276-didero "View didero's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNTk2OC1zZWNvbmQtb3JkZXItbm8tYWRkcmVzcy1kZXRhaWxzLWluLWFkbS1lbWFpbD90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86552
- Thank you received: 14304
-
-

15 years 6 months ago [\#15969](#15969) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Second order no address details in adm. email](/forum/3-bug-report/15968-second-order-no-address-details-in-adm-email#15969 "As I stated in my earlier post about including custom fields in emails  everything seemed to work fine.  But there is a problem. If an user is still logged in and makes a second order the conformation email to the administrator does not contain the shipping or order address details. Even if I set the Order administrator notification to its default settings.  Any idea?")*

The admin notification is the same for the first and next emails.
That fact that the shipping address is not displayed is because of a bug.
You should replace the line:
if(!empty($data-&gt;cart-&gt;has_shipping) &amp;&amp; !empty($data-&gt;cart-&gt;shipping_address)){
by:
if(!empty($data-&gt;cart-&gt;order_shipping_id) &amp;&amp; !empty($data-&gt;cart-&gt;shipping_address)){

in the order admin notification.

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

- **[didero](/forum/user/1276-didero "View didero's Profile")**
- [![didero's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1276.jpg)](/forum/user/1276-didero "View didero's Profile") Topic Author
- [ Offline](/forum/user/1276-didero)

Less More

- Posts: 66
- Thank you received: 3
-
-
-
- [](http://www.1968dewinkel.nl)
-

15 years 6 months ago [\#15970](#15970) by [didero](/forum/user/1276-didero "View didero's Profile")  Replied by *[didero](/forum/user/1276-didero "View didero's Profile")* on topic *[Re: Second order no address details in adm. email](/forum/3-bug-report/15968-second-order-no-address-details-in-adm-email#15970 "As I stated in my earlier post about including custom fields in emails  everything seemed to work fine.  But there is a problem. If an user is still logged in and makes a second order the conformation email to the administrator does not contain the shipping or order address details. Even if I set the Order administrator notification to its default settings.  Any idea?")*

I have just amended the Administrator Confirmation Email as suggested but the same results. Also with the standard layout.

---

[ ](http://www.didero.nl)[ www.didero.nl](http://www.didero.nl)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNTk2OC1zZWNvbmQtb3JkZXItbm8tYWRkcmVzcy1kZXRhaWxzLWluLWFkbS1lbWFpbD90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86552
- Thank you received: 14304
-
-

15 years 6 months ago [\#16019](#16019) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Second order no address details in adm. email](/forum/3-bug-report/15968-second-order-no-address-details-in-adm-email#16019 "As I stated in my earlier post about including custom fields in emails  everything seemed to work fine.  But there is a problem. If an user is still logged in and makes a second order the conformation email to the administrator does not contain the shipping or order address details. Even if I set the Order administrator notification to its default settings.  Any idea?")*

Would it be possible to have a back end access to your website in order to check out the problem because I'm out of ideas ?

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

- **[didero](/forum/user/1276-didero "View didero's Profile")**
- [![didero's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1276.jpg)](/forum/user/1276-didero "View didero's Profile") Topic Author
- [ Offline](/forum/user/1276-didero)

Less More

- Posts: 66
- Thank you received: 3
-
-
-
- [](http://www.1968dewinkel.nl)
-

15 years 6 months ago -  15 years 6 months ago [\#16021](#16021) by [didero](/forum/user/1276-didero "View didero's Profile")  Replied by *[didero](/forum/user/1276-didero "View didero's Profile")* on topic *[Re: Second order no address details in adm. email](/forum/3-bug-report/15968-second-order-no-address-details-in-adm-email#16021 "As I stated in my earlier post about including custom fields in emails  everything seemed to work fine.  But there is a problem. If an user is still logged in and makes a second order the conformation email to the administrator does not contain the shipping or order address details. Even if I set the Order administrator notification to its default settings.  Any idea?")*

Thank you. I have sent you the details.

---

[ ](http://www.didero.nl)[ www.didero.nl](http://www.didero.nl)

Last edit: 15 years 6 months ago by [didero](/forum/user/1276-didero "View didero's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNTk2OC1zZWNvbmQtb3JkZXItbm8tYWRkcmVzcy1kZXRhaWxzLWluLWFkbS1lbWFpbD90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86552
- Thank you received: 14304
-
-

15 years 6 months ago [\#16040](#16040) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Second order no address details in adm. email](/forum/3-bug-report/15968-second-order-no-address-details-in-adm-email#16040 "As I stated in my earlier post about including custom fields in emails  everything seemed to work fine.  But there is a problem. If an user is still logged in and makes a second order the conformation email to the administrator does not contain the shipping or order address details. Even if I set the Order administrator notification to its default settings.  Any idea?")*

We got them. As it's already late around here, we'll look at the problem tomorrow.

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

- **[didero](/forum/user/1276-didero "View didero's Profile")**
- [![didero's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1276.jpg)](/forum/user/1276-didero "View didero's Profile") Topic Author
- [ Offline](/forum/user/1276-didero)

Less More

- Posts: 66
- Thank you received: 3
-
-
-
- [](http://www.1968dewinkel.nl)
-

15 years 6 months ago [\#16044](#16044) by [didero](/forum/user/1276-didero "View didero's Profile")  Replied by *[didero](/forum/user/1276-didero "View didero's Profile")* on topic *[Re: Second order no address details in adm. email](/forum/3-bug-report/15968-second-order-no-address-details-in-adm-email#16044 "As I stated in my earlier post about including custom fields in emails  everything seemed to work fine.  But there is a problem. If an user is still logged in and makes a second order the conformation email to the administrator does not contain the shipping or order address details. Even if I set the Order administrator notification to its default settings.  Any idea?")*

Ok. If you want to see the outcome of the emails then you can temporary change the second email adres with "test" in it with your own. Or add an extra one. The shop is already live.

---

[ ](http://www.didero.nl)[ www.didero.nl](http://www.didero.nl)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNTk2OC1zZWNvbmQtb3JkZXItbm8tYWRkcmVzcy1kZXRhaWxzLWluLWFkbS1lbWFpbD90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86552
- Thank you received: 14304
-
-

15 years 6 months ago [\#16103](#16103) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Second order no address details in adm. email](/forum/3-bug-report/15968-second-order-no-address-details-in-adm-email#16103 "As I stated in my earlier post about including custom fields in emails  everything seemed to work fine.  But there is a problem. If an user is still logged in and makes a second order the conformation email to the administrator does not contain the shipping or order address details. Even if I set the Order administrator notification to its default settings.  Any idea?")*

Hi,

I'm sorry but I just tried to go on your back end and the account you provided did not enable me to log in. Could you please double check the credentials ?

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

- **[didero](/forum/user/1276-didero "View didero's Profile")**
- [![didero's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1276.jpg)](/forum/user/1276-didero "View didero's Profile") Topic Author
- [ Offline](/forum/user/1276-didero)

Less More

- Posts: 66
- Thank you received: 3
-
-
-
- [](http://www.1968dewinkel.nl)
-

15 years 6 months ago [\#16104](#16104) by [didero](/forum/user/1276-didero "View didero's Profile")  Replied by *[didero](/forum/user/1276-didero "View didero's Profile")* on topic *[Re: Second order no address details in adm. email](/forum/3-bug-report/15968-second-order-no-address-details-in-adm-email#16104 "As I stated in my earlier post about including custom fields in emails  everything seemed to work fine.  But there is a problem. If an user is still logged in and makes a second order the conformation email to the administrator does not contain the shipping or order address details. Even if I set the Order administrator notification to its default settings.  Any idea?")*

Hello Nicolas,

Don't understand. Just logged in with the username and pasword sent to you. Will make an new account details will follow.

---

[ ](http://www.didero.nl)[ www.didero.nl](http://www.didero.nl)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNTk2OC1zZWNvbmQtb3JkZXItbm8tYWRkcmVzcy1kZXRhaWxzLWluLWFkbS1lbWFpbD90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86552
- Thank you received: 14304
-
-

15 years 6 months ago [\#16105](#16105) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Second order no address details in adm. email](/forum/3-bug-report/15968-second-order-no-address-details-in-adm-email#16105 "As I stated in my earlier post about including custom fields in emails  everything seemed to work fine.  But there is a problem. If an user is still logged in and makes a second order the conformation email to the administrator does not contain the shipping or order address details. Even if I set the Order administrator notification to its default settings.  Any idea?")*

I was able to login on your back end now.
The problem is that you don't have the view "address" on your checkout workflow. That's the view responsible for the address selection during the checkout. If you don't have it, the system does not select any address for the order. Which is why you don't see any address in the emails for users with an account.
For users creating a new account, the address information is asked on the login view and is automatically selected when the account is created so that's why it works for new accounts and not existing accounts.

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

- **[didero](/forum/user/1276-didero "View didero's Profile")**
- [![didero's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1276.jpg)](/forum/user/1276-didero "View didero's Profile") Topic Author
- [ Offline](/forum/user/1276-didero)

Less More

- Posts: 66
- Thank you received: 3
-
-
-
- [](http://www.1968dewinkel.nl)
-

15 years 6 months ago [\#16106](#16106) by [didero](/forum/user/1276-didero "View didero's Profile")  Replied by *[didero](/forum/user/1276-didero "View didero's Profile")* on topic *[Re: Second order no address details in adm. email](/forum/3-bug-report/15968-second-order-no-address-details-in-adm-email#16106 "As I stated in my earlier post about including custom fields in emails  everything seemed to work fine.  But there is a problem. If an user is still logged in and makes a second order the conformation email to the administrator does not contain the shipping or order address details. Even if I set the Order administrator notification to its default settings.  Any idea?")*

Thank you for your wonderful support ![:)](/media/kunena/emoticons/3.png ":)") Fixed. Added to the checkout.

---

[ ](http://www.didero.nl)[ www.didero.nl](http://www.didero.nl)

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

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