- Posts: 86231
- Thank you received: 14224
e-mail copy if user has ordered
13 years 7 months ago #88183
by nicolas
Replied by nicolas on topic e-mail copy if user has ordered
That's not the correct way of doing it.
This is the correct code to use:
www.hikashop.com/en/forum/4-how-to/23622...le-people.html#23627
It has always been that code.
This is the correct code to use:
www.hikashop.com/en/forum/4-how-to/23622...le-people.html#23627
It has always been that code.
Please Log in or Create an account to join the conversation.
- cobinet_edv
-
Topic Author
- Offline
Less
More
- Posts: 107
- Thank you received: 0
13 years 7 months ago #88413
by cobinet_edv
Replied by cobinet_edv on topic e-mail copy if user has ordered
It does'nt work by me too.
I need a simply way.
And I need it for user account mail too.
Regard's
I need a simply way.
And I need it for user account mail too.
Regard's
Please Log in or Create an account to join the conversation.
13 years 7 months ago #88418
by leez300
Replied by leez300 on topic e-mail copy if user has ordered
#cobinet_edv
It worked for me, simply put the line at the very end of "order_creation_notification.html.php" and "order_ststus_notification.html.php" notification files, for user account I don't know.
Replace "email2@mywebsite.com" with your actual email address, and delete the ",'email3@mywebsite.com')".
As to the status file you also need the line
as the second last line.
In the create file you only need the code
as described above.
It MUST work!
Good luck
Lee
It worked for me, simply put the line at the very end of "order_creation_notification.html.php" and "order_ststus_notification.html.php" notification files, for user account I don't know.
Code:
<?php $data->customer->user_email = array($data->customer->user_email,'email2@mywebsite.com','email3@mywebsite.com'); ?>
Replace "email2@mywebsite.com" with your actual email address, and delete the ",'email3@mywebsite.com')".
As to the status file you also need the line
Code:
<?php $data->customer = $customer;?>
In the create file you only need the code
Code:
<?php $data->customer->user_email = array($data->customer->user_email,'email2@mywebsite.com','email3@mywebsite.com'); ?>
It MUST work!
Good luck
Lee
Please Log in or Create an account to join the conversation.
- cobinet_edv
-
Topic Author
- Offline
Less
More
- Posts: 107
- Thank you received: 0
13 years 7 months ago #88422
by cobinet_edv
Replied by cobinet_edv on topic e-mail copy if user has ordered
Thanks
It works now for my mail, but the customer does'nt recieve mail
Regard's
It works now for my mail, but the customer does'nt recieve mail
Regard's
Please Log in or Create an account to join the conversation.
Time to create page: 0.212 seconds