Skip to main content

e-mail copy if user has ordered

More
13 years 7 months ago #88183 by nicolas
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.

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

More
13 years 7 months ago #88413 by cobinet_edv
It does'nt work by me too.
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.

More
13 years 7 months ago #88418 by leez300
#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.
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;?>
as the second last line.

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'); ?>
as described above.

It MUST work!

Good luck
Lee

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

More
13 years 7 months ago #88422 by cobinet_edv
Thanks

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
Powered by Kunena Forum