Second order no address details in adm. email
15 years 4 months ago - 15 years 4 months ago #15968
by didero
Second order no address details in adm. email was created 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?
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.
15 years 4 months ago #15969
by nicolas
Replied by nicolas on topic Re: Second order no address details in adm. email
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.
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.
15 years 4 months ago #15970
by didero
Replied by didero on topic Re: Second order no address details in adm. email
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.
15 years 4 months ago #16019
by nicolas
Replied by nicolas on topic Re: Second order no address details in adm. email
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.
15 years 4 months ago - 15 years 4 months ago #16021
by didero
Replied by didero on topic Re: Second order no address details in adm. email
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.
15 years 4 months ago #16040
by nicolas
Replied by nicolas on topic Re: Second order no address details in adm. email
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.
15 years 4 months ago #16044
by didero
Replied by didero on topic Re: Second order no address details in adm. email
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.
15 years 4 months ago #16103
by nicolas
Replied by nicolas on topic Re: Second order no address details in adm. email
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 ?
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.
15 years 4 months ago #16104
by didero
Replied by didero on topic Re: Second order no address details in adm. email
Hello Nicolas,
Don't understand. Just logged in with the username and pasword sent to you. Will make an new account details will follow.
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.
15 years 4 months ago #16105
by nicolas
Replied by nicolas on topic Re: Second order no address details in adm. email
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.
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.
15 years 4 months ago #16106
by didero
Replied by didero on topic Re: Second order no address details in adm. email
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.306 seconds