We have set up Gift Certificates in our cart and turned on "Send Copy of Admin GV Mail Emails To" in the email configuration panel. Testing by sending a few certificates showed no copies were sent. No copies show in the email archive.
We traced the problem to line 126 in gv_mail.php:
The "DISCOUNT_COUPON" reference is incorrect. We took a guess at what the variable should be and changed the code to:Code:if (SEND_EXTRA_DISCOUNT_COUPON_ADMIN_EMAILS_TO_STATUS== '1' and SEND_EXTRA_DISCOUNT_COUPON_ADMIN_EMAILS_TO != '') { zen_mail('', SEND_EXTRA_DISCOUNT_COUPON_ADMIN_EMAILS_TO, SEND_EXTRA_DISCOUNT_COUPON_ADMIN_EMAILS_TO_SUBJECT . ' ' . $subject, $message, $from, $from, $html_msg, 'gv_mail_extra'); }
and email copies are now being received.Code:if (SEND_EXTRA_GV_ADMIN_EMAILS_TO_STATUS== '1' and SEND_EXTRA_GV_ADMIN_EMAILS_TO != '') { zen_mail('', SEND_EXTRA_GV_ADMIN_EMAILS_TO, SEND_EXTRA_GV_ADMIN_EMAILS_TO_SUBJECT . ' ' . $subject, $message, $from, $from, $html_msg, 'gv_mail_extra'); }
The issue now is that there is a similar problem (we think) in line 87 and we cannot determine the appropriate replacement for the "DISCOUNT_COUPON" reference.
Anyone with a clue?


Reply With Quote
