Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11
    Join Date
    Jan 2004
    Posts
    58,263
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Order Confirmation Emails Question

    Quote Originally Posted by jimweinberg View Post
    BTW, in your reply you said to look for the notifier: NOTIFY_ORDER_INVOICE_CONTENT_FOR_ADDITIONAL_EMAILS. No such notifier is in the copy of order.php that I have. No biggie, just FYI.
    That was added in v1.5.0. You're using a much older version which doesn't have that option.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

  2. #12
    Join Date
    Jul 2012
    Posts
    33
    Plugin Contributions
    0

    Default Re: Order Confirmation Emails Question

    Hey lat9:

    I tried that. No go. In fact, I got frustrated and deleted all 6 lines. Same result. Don't understand it!

  3. #13
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    1,939
    Plugin Contributions
    20

    Default Re: Order Confirmation Emails Question

    I think you might be getting "bit" by the zen_mail function itself. Look in /includes/functions/functions_email.php; my copy has the following version information:
    Code:
    /**
     * functions_email.php
     * Processes all outbound email from Zen Cart
     * Hooks into phpMailer class for actual email encoding and sending
     *
     * @package functions
     * @copyright Copyright 2003-2011 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: functions_email.php 19325 2011-08-02 22:09:43Z drbyte $
     * 2007-09-30 added encryption support for Gmail Chuck Redman
     */
    Starting at line 114, there's this code fragment that might be the source of your problem:
    Code:
          if ($module != 'xml_record') {
            if (!strstr($email_text, sprintf(EMAIL_DISCLAIMER, STORE_OWNER_EMAIL_ADDRESS)) && $to_email_address != STORE_OWNER_EMAIL_ADDRESS && !defined('EMAIL_DISCLAIMER_NEW_CUSTOMER')) $email_text .= "\n" . sprintf(EMAIL_DISCLAIMER, STORE_OWNER_EMAIL_ADDRESS);
            if (defined('EMAIL_SPAM_DISCLAIMER') && EMAIL_SPAM_DISCLAIMER != '' && !strstr($email_text, EMAIL_SPAM_DISCLAIMER) && $to_email_address != STORE_OWNER_EMAIL_ADDRESS) $email_text .= "\n\n" . EMAIL_SPAM_DISCLAIMER;
          }

  4. #14
    Join Date
    Jul 2012
    Posts
    33
    Plugin Contributions
    0

    Default Re: Order Confirmation Emails Question

    Hey lat9.

    Yea, I figured it was being done somewhere outside the order routine. You're probably right that it's in the functions_email routine. Looking at the code, however, it looks like the disclaimers shouldn't be included if the email is going to the store owner. I'll look at the code further this afternoon and see if it's being added somewhere else in the routine.

    Thanks for sticking with this. You are truly Totally Zenned.

    Regards.

  5. #15
    Join Date
    Jan 2004
    Posts
    58,263
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Order Confirmation Emails Question

    What exactly did you change in the code?

    It sounds like you want to send a completely different email to a completely different address. What's the business purpose for this other email you're sending? Why are you wanting to make these changes?
    It's often helpful to know the full back-story in order to give you the specific answer you need.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Help: Not receiving [NEW ORDER] Order Confirmation Emails!
    By RocketFoot in forum General Questions
    Replies: 1
    Last Post: 15 Feb 2011, 05:55 PM
  2. Order Confirmation Emails
    By Dewster in forum Managing Customers and Orders
    Replies: 2
    Last Post: 5 Jun 2008, 11:01 PM
  3. Order Confirmation Emails
    By customilluminations in forum General Questions
    Replies: 1
    Last Post: 21 May 2007, 07:37 PM
  4. Order confirmation emails
    By Nellie in forum Managing Customers and Orders
    Replies: 3
    Last Post: 5 Jan 2007, 05:46 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •