e-mail copy if user has ordered

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
11 years 9 months ago #88183

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.

  • Posts: 107
  • Thank you received: 0
11 years 9 months ago #88413

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.

  • Posts: 16
  • Thank you received: 0
11 years 9 months ago #88418

#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.

<?php $data->customer->user_email = array($data->customer->user_email,'email2@mywebsite.com','email3@mywebsite.com'); ?>

Replace "This email address is being protected from spambots. You need JavaScript enabled to view it." with your actual email address, and delete the ",'This email address is being protected from spambots. You need JavaScript enabled to view it.')".

As to the status file you also need the line
<?php $data->customer = $customer;?> 
as the second last line.

In the create file you only need the 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.

  • Posts: 107
  • Thank you received: 0
11 years 9 months ago #88422

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