Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2007
    Posts
    79
    Plugin Contributions
    0

    Default Order confirmation emails to certain addresses

    Hello everyone,

    is there a way for the order confiramtion email the admin recieves when an order was place to be email to diferent email address. For example my company is in the school picture business. We cater to both k-11 and 12 grade. Each have there own department. For the 12th graders we take there pictures at the studio which we currently have two. One at the north part of the city and another at the south part of the city. What i would like is if an order was place and the order pertains to the studio to the south can the order confimation be sent to them and vice versa if it was the north.

    any help or suggestion would be greatful.

    Thanks,
    Silvio

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Order confirmation email

    You'll have to write your own custom code to replace the existing functionality in the send_order_email() method of the orders.php class based on your unique custom criteria.
    .

    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.

  3. #3
    Join Date
    Oct 2009
    Posts
    2
    Plugin Contributions
    0

    Default Re: Order confirmation email

    I had a similar situation where I needed email copies to goto different people depending on the customer. I put this email address in the "suburb" field in the main customer address. I use FEC orders so the code below is on line 1067 of includes/classes/order.php.

    Code:
    zen_mail('', SEND_EXTRA_ORDER_EMAILS_TO . ',' . $this->customer['suburb'], SEND_EXTRA_NEW_ORDERS_EMAILS_TO_SUBJECT . ' ' . EMAIL_TEXT_SUBJECT . EMAIL_ORDER_NUMBER_SUBJECT . $zf_insert_id,
          $email_order . $extra_info['TEXT'], STORE_NAME, EMAIL_FROM, $html_msg, 'checkout_extra', $this->attachArray);
    The part in red was the only change.

  4. #4
    Join Date
    Mar 2006
    Posts
    63
    Plugin Contributions
    0

    Default Re: Order confirmation email

    Hello Im in need of the exact same feature , however Im not clear on the solution you gave I need a certain group order to be emailed to a third party email address but I'm at a loss on where to begin.

  5. #5
    Join Date
    Mar 2006
    Posts
    63
    Plugin Contributions
    0

    Default Re: Order confirmation email

    After studying it I see what you did but I was wondering if there was anyway for it to be an "if" statement , like "if" customer belongs to group "alpha" then email confirmation to (alpha email) does this make sense ?

 

 

Similar Threads

  1. v139f Remove IP addresses from Order Confirmation Email
    By vdivito in forum Managing Customers and Orders
    Replies: 2
    Last Post: 11 Jul 2016, 02:44 PM
  2. v154 Order confirmation emails and Contact Us emails not being received
    By jcrewe in forum General Questions
    Replies: 5
    Last Post: 22 Mar 2015, 06:36 PM
  3. Help: Not receiving [NEW ORDER] Order Confirmation Emails!
    By RocketFoot in forum General Questions
    Replies: 1
    Last Post: 15 Feb 2011, 05:55 PM
  4. customer wants his order confirmation emails sent to 2 addresses ?
    By Davep in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 19 Nov 2008, 08:44 PM

Posting Permissions

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