Forums / General Questions / How to have order status info and updates send to 2 email addresses automatically

How to have order status info and updates send to 2 email addresses automatically

Views: 1,137

Results 1 to 7 of 7
12 Oct 2012, 12:08 AM
#1
wekalegs avatar

wekalegs

New Zenner

Join Date:
Aug 2012
Posts:
16
Plugin Contributions:
0

How to have order status info and updates send to 2 email addresses automatically

Hi can anyone help me . I have created an extra field at sign up for a secondary email address and would like order updates to email this address as well as the customers primary address automatically.

Hope this makes sense.

Clients would like for example there manager and there accountant to receive order info changes automatically.

I am thinking this is a case of knowing where to edit the code to select the second email address from the extra from field as well as the primary and email to both of them.

12 Oct 2012, 2:24 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: How to have order status info and updates send to 2 email addresses automatically

Simply set those email addresses according to the format described in the appropriate fields in Admin->Configuration->Email Options.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

13 Oct 2012, 1:20 AM
#3
wekalegs avatar

wekalegs

New Zenner

Join Date:
Aug 2012
Posts:
16
Plugin Contributions:
0

Re: How to have order status info and updates send to 2 email addresses automatically

Hi thanks for you reply . I can do that I think maybe I have not made clear what i wish to do. When i refer to 2 email addresses to the client I am refering to the purchaser of the product.i run invoice accounts and those client would like there order status etc to go to 2 email addresses. Hope this clears up what I am trying to do.

15 Oct 2012, 3:55 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: How to have order status info and updates send to 2 email addresses automatically

no, stevesh took it way further.

I was hoping not to have to go into my admin and copy the help text to repeat it here on the forum:

Send Copy of Admin Orders Status Emails To
Send copy of Admin Orders Status emails to the following email addresses, in this format: Name 1 email@address1, Name 2 email@address2

See the pattern? Simply follow the pattern, and it will send to all the addresses you list.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

17 Oct 2012, 2:46 AM
#6
wekalegs avatar

wekalegs

New Zenner

Join Date:
Aug 2012
Posts:
16
Plugin Contributions:
0

Re: How to have order status info and updates send to 2 email addresses automatically

Thanks Dr Byte but that is not what I wish to do I need to be able to send a copy of all orders for a particular company eg Joe Blogs when they confirm an order.
Example: Joe blogs orders 1 widget and confirms the order. Joe blogs email is [email protected] which is the email he used to set his account up. I need to be able to add a second email to his account so as the customer Joe Blogs has a primary email [email protected] and a secondary email [email protected].
Then when orders are confirmed both email get confirmations and order updates.

Hope this makes sense

Regards

:smile:

17 Oct 2012, 3:01 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: How to have order status info and updates send to 2 email addresses automatically

Oh. I thought you were referring to extra emails for people running your store.
Very unusual for customers to want to get multiple duplicates of emails about their orders.

You'll need to write your own custom code to send emails to the other addresses. The code that sends order-confirmation of the original sale is in /includes/classes/order.php, and the admin side which sends status updates from your store administrator is in /admin/orders.php

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.