Zen Cart Logo
Forums / Customization from the Admin / Copy of comments/status email to Admin?

Copy of comments/status email to Admin?

Views: 1,868

Results 1 to 16 of 16
22 Mar 2011, 6:15 AM
#1
green333 avatar

green333

Zen Follower

Join Date:
Mar 2008
Location:
QLD - Aussie
Posts:
190
Plugin Contributions:
0

Copy of comments/status email to Admin?

Hi
I was wondering if it's possible to have the Notify Customer email (when one updates Order Status/Comments) cc'ed to Admin as well as being sent to the customer?

I wasn't sure if this setting has any bearing:

** Send Copy of Admin Orders Status Emails To - Status **

(Admin - Catalog)
Send copy of Admin Orders Status emails. Can be set to either 0 (off) or 1 (on). Default: 0

I tested by changing the option to 'on' but am unsure as to what it does.

Many thanks :smile:

22 Mar 2011, 1:45 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Copy of comments/status email to Admin?

If you set to 1 the setting:

Send Copy of Admin Orders Status Emails To - Status
Send copy of Admin Orders Status Status
0= off 1= on

and set an email address on:

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

Both the Customer and the Admin will receive an email when the Order Status is changed ...

22 Mar 2011, 9:19 PM
#3
green333 avatar

green333

Zen Follower

Join Date:
Mar 2008
Location:
QLD - Aussie
Posts:
190
Plugin Contributions:
0

Re: Copy of comments/status email to Admin?

Hi Ajeh,

Thank you so much for your reply.

I thought that may be the way it works - but posted my question as that does not seem to work for me for some reason unfortunately.:blink:

After setting option to '1', I've tried setting my email as: [email protected], and then tried [email protected] and even my personal email as well - but no 'copy' arrives (customer's email arrives ok)

I don't have any issues in any other way in regards to Admin sending notifications to customers - or (myself) receiving order confirmations, customer 'message' emails and so on.

23 Mar 2011, 12:27 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Copy of comments/status email to Admin?

If you look in the file:
/admin/orders.php

do you find the code:

            //send extra emails
            if (SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_STATUS == '1' and SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO != '') {
              zen_mail('', SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO, SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_SUBJECT . ' ' . EMAIL_TEXT_SUBJECT . ' #' . $oID, $message, STORE_NAME, EMAIL_FROM, $html_msg, 'order_status_extra');
            }

If you go to the Tools ... Developers Tool Kit ... and in the top input box enter:
SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_STATUS

and select NONE then click SEARCH ... what comes up?

If you go to the Tools ... Developers Tool Kit ... and in the top input box enter:
SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO

what comes up? :unsure:

23 Mar 2011, 1:02 AM
#5
green333 avatar

green333

Zen Follower

Join Date:
Mar 2008
Location:
QLD - Aussie
Posts:
190
Plugin Contributions:
0

Re: Copy of comments/status email to Admin?

If you go to the Tools ... Developers Tool Kit ... and in the top input box enter:
SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_STATUS


and select NONE then click SEARCH ... what comes up?***

admin**/orders.php**

Line #145 : if (SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_STATUS == '1' and SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO != '') {

***If you go to the Tools ... Developers Tool Kit ... and in the top input box enter:
SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO

what comes up? :unsure:***

admin**/orders.php**

Line #145 : if (SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_STATUS == '1' and SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO != '') {

Line #146 : zen_mail('', SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO, SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_SUBJECT . ' ' . EMAIL_TEXT_SUBJECT . ' #' . $oID, $message, STORE_NAME, EMAIL_FROM, $html_msg, 'order_status_extra');

and also in admin/**includes/languages/english/email_extras.php

**Line #42 : define('SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_SUBJECT','[ORDERS STATUS]');

23 Mar 2011, 1:38 AM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Copy of comments/status email to Admin?

Now try that again in the TOP input box and select NONE from the dropdown ... what comes up?

23 Mar 2011, 1:55 AM
#7
green333 avatar

green333

Zen Follower

Join Date:
Mar 2008
Location:
QLD - Aussie
Posts:
190
Plugin Contributions:
0

Re: Copy of comments/status email to Admin?

Sorry if I gave you the wrong info - adding that to the top box (I hope this is where I enter the search?):

Developers Tool Kit * *
Look-up CONSTANT or Language File defines
* Key or Name:
Language File Look-ups:* *
NOTE:* * CONSTANTS are written in uppercase.*

I get this initially:

Lookup CONSTANT Definitions Key: SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_STATUS Title: Send Copy of Admin Orders Status Emails To - Status Description: Send copy of Admin Orders Status Status
0= off 1= on Value: 1 Group: ID#12 E-Mail Options
**Search ALL files for: ** SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_STATUS

(I had then pressed the 'search all files' button, and that was what then was contained in my previous post)*

and the second search:

Lookup CONSTANT Definitions Key: SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO Title: Send Copy of Admin Orders Status Emails To Description: Send copy of Admin Orders Status emails to the following email addresses, in this format: Name 1 email@address1, Name 2 email@address2 Value: [email protected], [email protected] Group: ID#12 E-Mail Options
**Search ALL files for: ** SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO

(is this the info that you needed? - sorry if I misunderstood..)

23 Mar 2011, 2:26 AM
#9
green333 avatar

green333

Zen Follower

Join Date:
Mar 2008
Location:
QLD - Aussie
Posts:
190
Plugin Contributions:
0

Re: Copy of comments/status email to Admin?

This is a mystery - I tried your suggested email formats - only one email (customer's) comes through. Still no copy to 'admin'.

Thanks for your patience....

I really cant work this out:shocking:

23 Mar 2011, 3:20 AM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Copy of comments/status email to Admin?

Are you just using the the email address:
[email protected]

Are you able to email a Gift Certificate in the Gift Certificate/Coupons ... Mail Gift Certificate ... to the email address that you are using for the Admin email? :unsure:

23 Mar 2011, 3:42 AM
#11
green333 avatar

green333

Zen Follower

Join Date:
Mar 2008
Location:
QLD - Aussie
Posts:
190
Plugin Contributions:
0

Re: Copy of comments/status email to Admin?

yes - I have tried using both my own personal email, and my admin email (at separate times) in the format as you suggested.

Also - yes, just tried Gift Certificates - these are successfully received when using the admin's email (as a customer)

I also tried it sending to a non-admin address (as customer) - again received ok

I also went in and changed the status to '1' (on) in email config to see if admin would receive a copy - however, still no email to admin.

23 Mar 2011, 3:46 AM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Copy of comments/status email to Admin?

Have you any add ons or anything that might have changed the orders.php file?

This is v1.3.9h that you are using?

Clean install or an Upgrade?

23 Mar 2011, 4:13 AM
#13
green333 avatar

green333

Zen Follower

Join Date:
Mar 2008
Location:
QLD - Aussie
Posts:
190
Plugin Contributions:
0

Re: Copy of comments/status email to Admin?

Yes - I do have modifications. Probably the biggest would be Fast & Easy Checkout installed by the author for me last year. I also have mods such as create a customer and edit orders which I installed prior to F&EC. Everything seems to work beautifully.

I am still on 1.38a (please don't yell:cry:) mainly because of my assorted modifications. However, I do have all security patches etc uptodate pertaining to my version. (I had this professionally verified late last year as well).

Of course, I never did test the 'copy of email to admin' function in my 'early pre modified days' of my ZC so I don't really know 'when' or 'why' it doesn't work.

I'm not quite sure how to go from here - I suppose I'm lucky I receive order confirmations successfully!

I really appreciate that you've taken time out of your day to help me, and also all of your speedy replies. :hug:

23 Mar 2011, 2:10 PM
#14
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Copy of comments/status email to Admin?

Could you send me a Private Message with exactly what you are using in the:
Send Copy of Admin Orders Status Emails To

23 Mar 2011, 9:31 PM
#15
green333 avatar

green333

Zen Follower

Join Date:
Mar 2008
Location:
QLD - Aussie
Posts:
190
Plugin Contributions:
0

Re: Copy of comments/status email to Admin?

PM sent

23 Mar 2011, 10:27 PM
#16
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Copy of comments/status email to Admin?

I am not seeing anything wrong with it ...

Maybe try to compare a clean v1.3.8
/admin/orders.php

with your v1.3.8 and see if you see anything that might be different ...