Skip to main content

Second order no address details in adm. email

More
15 years 4 months ago - 15 years 4 months ago #15968 by didero
As I stated in my earlier post about including custom fields in emails

www.hikashop.com/en/support/forum/4-how-...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?
Last edit: 15 years 4 months ago by didero.

Please Log in or Create an account to join the conversation.

More
15 years 4 months ago #15969 by nicolas
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->cart->has_shipping) && !empty($data->cart->shipping_address)){
by:
if(!empty($data->cart->order_shipping_id) && !empty($data->cart->shipping_address)){

in the order admin notification.

Please Log in or Create an account to join the conversation.

More
15 years 4 months ago #15970 by didero
I have just amended the Administrator Confirmation Email as suggested but the same results. Also with the standard layout.

Please Log in or Create an account to join the conversation.

More
15 years 4 months ago #16019 by nicolas
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 or Create an account to join the conversation.

More
15 years 4 months ago - 15 years 4 months ago #16021 by didero
Thank you. I have sent you the details.
Last edit: 15 years 4 months ago by didero.

Please Log in or Create an account to join the conversation.

More
15 years 4 months ago #16040 by nicolas
We got them. As it's already late around here, we'll look at the problem tomorrow.

Please Log in or Create an account to join the conversation.

More
15 years 4 months ago #16044 by didero
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.

Please Log in or Create an account to join the conversation.

More
15 years 4 months ago #16103 by nicolas
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 or Create an account to join the conversation.

More
15 years 4 months ago #16104 by didero
Hello Nicolas,

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

Please Log in or Create an account to join the conversation.

More
15 years 4 months ago #16105 by nicolas
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 or Create an account to join the conversation.

More
15 years 4 months ago #16106 by didero
Thank you for your wonderful support :) Fixed. Added to the checkout.

Please Log in or Create an account to join the conversation.

Time to create page: 0.268 seconds
Powered by Kunena Forum