Send order status notification to multiple people

  • Posts: 21
  • Thank you received: 0
12 years 8 months ago #23622

How can I go about sending the order status notification email to both the customer and a different email address?

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

  • Posts: 21
  • Thank you received: 0
12 years 8 months ago #23623

Wait, just found this: www.hikashop.com/en/support/forum/4-how-...email-addresses.html

No need to respond to this just yet, I will try it out first.

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

  • Posts: 21
  • Thank you received: 0
12 years 8 months ago #23624

Okay, I looked through it and I don't know where it is I can edit the email addresses the notification gets sent to. Where can I do that?

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

  • Posts: 81508
  • Thank you received: 13064
  • MODERATOR
12 years 8 months ago #23625

The order creation and payment notification emails are sent to the admin emails specified in the tab Mail of the configuration of HikaShop. You can just set your emails there in the options "Payment notifications email address" and "Order creation notifications email address" by separating each email address by a coma.

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

  • Posts: 21
  • Thank you received: 0
12 years 8 months ago #23626

Oh sorry, what I want is for the order status notification that is sent to the customer (subject: "Your order No. is now confirmed") to also be sent to another email address. How do I do that?

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

  • Posts: 81508
  • Thank you received: 13064
  • MODERATOR
12 years 8 months ago #23627

For the order status notification, you will have to edit it via the menu System->Emails (Business edition only) and add the code below at the end of the email HTML version :

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

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

  • Posts: 21
  • Thank you received: 0
12 years 8 months ago #23629

Works perfectly, thank you!

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

  • Posts: 107
  • Thank you received: 0
11 years 2 months ago #88412

It does'nt work by me

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

  • Posts: 81508
  • Thank you received: 13064
  • MODERATOR
11 years 2 months ago #88472

Can you do a screenshot of the modification you did ?

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

  • Posts: 107
  • Thank you received: 0
11 years 2 months ago #88550

It was a wrong mail.
I have modified Order status notification
But I need Order creation notification
Now I recieve Order creation notification mail, but the customer recieves nothing
There is the code:

  </table>
</div>
<?php $data->customer = $customer;?>
<?php $data->customer->user_email = array($data->customer->user_email,'anmeldung@cobinet.test'); ?>

Last edit: 11 years 2 months ago by Jerome.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #88627

Can you try without the "<?php $data->customer = $customer;?>"

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

  • Posts: 107
  • Thank you received: 0
11 years 2 months ago #88629

Thanks
It works
But I need the same, if user has registered

Regard's

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

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #88650

You have to edit the mail "user_account" and at the end add the code:

<?php $data->email = array($data->email,'anmeldung@cobinet.test'); ?>

The following user(s) said Thank You: cobinet_edv

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

  • Posts: 194
  • Thank you received: 5
11 years 6 days ago #98949

I've been trying to get this to work (testing by changing status on the admin side), but not getting any emails.

I added:

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

at the end of the file; however, at least from the admin-side/manual updates, it wasn't going out,
UNTIL I noticed that the email form wasn't inserting the customer's email address and the email address field was starting with a ",".

so I changed it to:

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

And at least it sends the notification to the two hard-coded address when testing.

However, it's still not pulling in the customer's email address (or 'To' name).


I did have to remove the previous line above this (as indicated earlier in this thread).
But still no customer email being included.

Any ideas?

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

  • Posts: 101
  • Thank you received: 12
11 years 4 days ago #99167

Hi,

I just tried the following code from Nicolas and it seems to work.

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

I of course changed the 2 email-addresses.

Since this has been asked a couple times, can this be put on the todo-list please? (if it hasn't already).

Shouldn't it be better to call the existing field "Order administrator notifications email address" and what we are asking here "Order creation notifications email address".
And wouldn't it be nice if there was a dropdown-list where we can choose between TO,CC and BCC.
Here is an example of how it could look. with the two extra fields and renaming the first two:



Thanks

Last edit: 11 years 4 days ago by SG.
The following user(s) said Thank You: nicolas

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

  • Posts: 81508
  • Thank you received: 13064
  • MODERATOR
11 years 3 days ago #99449

It is already in the todo list but not in that format.

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

  • Posts: 101
  • Thank you received: 12
11 years 3 days ago #99486

Hi Nicolas,

Thanks for letting us know.
We are looking forward to it.

Cheers

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

  • Posts: 194
  • Thank you received: 5
11 years 2 days ago #99544

I've updated my order status email with the code listed here, but still nothing is getting sent during the normal checkout process (it does get sent if I change the order status manually on the admin-side).

I'm wondering if I'm missing something in the Checkout workflow.
We are not using the 'advanced' workflow.
Here's what we've got in the workflow:

login_address_shipping_payment_coupon_cart_status_fields_confirm,end

Is there possibly something missing there?


Or did I miss something in the order status notification email change?
Here's the last few lines of the HTML version code:
    </tbody>
  </table>
</div>
<?php $data->customer = $customer;?>
<?php $data->customer->user_email = array($data->customer->user_email,'email2@mywebsite.com','email3@mywebsite.com'); ?>

(I've also tried it with removing the $data->customer = $customer; line without any better results)

The orders ARE getting marked as 'confirmed' by the authorize.net payment when completed. Just to confirmation email being sent.

Any help would be appreciated as we can't get any status emails to automatically send upon order (payment) confirmation.

[Running HikaShop 2.1.2]

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

  • Posts: 194
  • Thank you received: 5
11 years 2 days ago #99574

Looks like we found the issue.

The from address on that was set to 'order@', but the Joomla email system (and other parts of HS) was set to use 'info@' to send.

The email server didn't report any errors, but the emails were not being sent.

Not sure if there is something in HS or Joomla that is preventing sending emails FROM a different address than the account, but it appears this issue is now resolved for us.

TIP: Always check all those from/reply-to fields.

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

  • Posts: 71
  • Thank you received: 0
  • Hikashop Business Hikashop Essential
10 years 8 months ago #119617

Following this thread, I have done what was said and it all works well, but was wondering how to make the email addess of the secondary hard-coded emails a BCC and not a TO address. I really don't want to the secondary email recipient to be visible to the user, as it 's just the warehouse doing the shipping. Thanks, Nick

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

Time to create page: 0.151 seconds
Powered by Kunena Forum