Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    Mar 2005
    Location
    Scotland
    Posts
    74
    Plugin Contributions
    0

    Default Remove "Office Use" section from Admin copy of Order Confirmation email

    Hi,

    having problems trying to remove Office use only section on the text order confirmation email. It look like the below after me editing includes/classes/orders.php and email extras email (includes/languages/english/email_functions). I have searched high and low the forums and have not found the solution.

    Thanks again Martin

    AuthCode: TransID: 6V372116VL811715B

    Order Confirmation from online shop

    Joe Bloggs

    Thanks for ordering with us today!
    Order Details:
    -------------------------------------
    Order Number# 45
    Date Ordered: 29 Apr 12, 09:02 PM

    Products
    -------------------------------------
    1 x Can of Fanta = 0.80
    -------------------------------------
    Sub-Total: 0.80
    Store Pickup (Walk In): 0.00
    Total: 0.80

    Delivery Address
    -------------------------------------
    Joe Blggs
    37 Old Road
    Southhampton

    SH1 HRT
    United Kingdom
    Payment Method
    -------------------------------------
    PayPal


    -----
    This email address was given to us by you or by one of our customers. If you
    feel that you have received this email in error, please send an email to
    onlineshop################################


    -----
    Copyright (c) 2012 Kirky Mahal. Powered by Zen Cart

    OFFICE_USE
    From:
    Email:
    OFFICE_LOGIN_NAME Joe Bloggs
    OFFICE_LOGIN_EMAIL joe##########################
    OFFICE_LOGIN_PHONE 0777888888
    OFFICE_IP_ADDRESS 82.40.106.37 - 82.40.106.37
    OFFICE_HOST_ADDRESS cpc2-dumb1-0-0-cust548.uddi.cable.virginmedia.com
    OFFICE_DATE_TIME Sun Apr 29 2012 21:02:13 BST

  2. #2
    Join Date
    Jan 2004
    Posts
    59,761
    Blog Entries
    4
    Plugin Contributions
    133

    Default Re: Editing Order Confirmation email

    Quote Originally Posted by mkyle View Post
    trying to remove Office use only section on the text order confirmation email
    Why?
    What business problem are you trying to solve by doing this?
    .

    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.

  3. #3
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,984
    Plugin Contributions
    0

    Default Re: Editing Order Confirmation email

    Customers actually appreciate this time-stamping. It indicates there are proper archives being kept about the transaction.

  4. #4
    Join Date
    Mar 2005
    Location
    Scotland
    Posts
    74
    Plugin Contributions
    0

    Default Re: Editing Order Confirmation email

    Hi,

    I was trying to remove the office use only section it as it needs to printed on a receipt printer and it is not needed for my client. I hope this explains it.

    Thanks, Martin

  5. #5
    Join Date
    Jan 2004
    Posts
    59,761
    Blog Entries
    4
    Plugin Contributions
    133

    Default Re: Editing Order Confirmation email

    Quote Originally Posted by fairestcape View Post
    Customers actually appreciate this time-stamping. It indicates there are proper archives being kept about the transaction.
    fairestcape,
    I believe he's talking about the ADMIN copy emails, which storefront customers would never see.
    .

    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.

  6. #6
    Join Date
    Jan 2004
    Posts
    59,761
    Blog Entries
    4
    Plugin Contributions
    133

    Default Re: Editing Order Confirmation email

    Quote Originally Posted by mkyle View Post
    I was trying to remove the office use only section it as it needs to printed on a receipt printer and it is not needed for my client.
    What is this printed "receipt" being used for?
    Wouldn't the printed "Invoice" page be much more appropriate? or maybe the Packing Slip?
    .

    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.

  7. #7
    Join Date
    Mar 2005
    Location
    Scotland
    Posts
    74
    Plugin Contributions
    0

    Default Re: Editing Order Confirmation email

    Hi,

    the client prints off 3 copies. One for the kitchen to fulfil the order. Second one for home delivery and the third for his own records of the nights takings. Hope that makes sense

    Thanks Martin

  8. #8
    Join Date
    Jan 2004
    Posts
    59,761
    Blog Entries
    4
    Plugin Contributions
    133

    Default Re: Editing Order Confirmation email

    You'll need to hack the core code for /includes/classes/order.php. THIS WILL NOT SURVIVE AN UPGRADE, so you'll need to adjust again in the future.
    Replace this:
    Code:
          $extra_info=email_collect_extra_info('','', $this->customer['firstname'] . ' ' . $this->customer['lastname'], $this->customer['email_address'], $this->customer['telephone']);
    with this:
    Code:
    //      $extra_info=email_collect_extra_info('','', $this->customer['firstname'] . ' ' . $this->customer['lastname'], $this->customer['email_address'], $this->customer['telephone']);
        $extra_info= array('TEXT'=>'', 'HTML'=>'');
    .

    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.

  9. #9
    Join Date
    Mar 2005
    Location
    Scotland
    Posts
    74
    Plugin Contributions
    0

    Default Re: Editing Order Confirmation email

    Great thanks it worked a treat. One final question I promise lol. How do I duplicate the order detail and delivery details so that it looks like the below (section - Kitchen Copy):

    AuthCode: TransID: 6V372116VL811715B

    Order Confirmation from online shop

    Joe Bloggs

    Thanks for ordering with us today!
    Order Details:
    -------------------------------------
    Order Number# 45
    Date Ordered: 29 Apr 12, 09:02 PM

    Products
    -------------------------------------
    1 x Can of Fanta = 0.80
    -------------------------------------
    Sub-Total: 0.80
    Store Pickup (Walk In): 0.00
    Total: 0.80

    Delivery Address
    -------------------------------------
    Joe Blggs
    37 Old Road
    Southhampton

    SH1 HRT
    United Kingdom


    077701218989

    Payment Method
    -------------------------------------
    PayPal


    -----
    This email address was given to us by you or by one of our customers. If you
    feel that you have received this email in error, please send an email to
    onlineshop################################

    -----KITCHEN COPY ----

    Order Number# 45
    Date Ordered: 29 Apr 12, 09:02 PM

    Products
    -------------------------------------
    1 x Can of Fanta = 0.80
    -------------------------------------
    Sub-Total: 0.80
    Store Pickup (Walk In): 0.00
    Total: 0.80

    Delivery Address
    -------------------------------------
    Joe Blggs
    37 Old Road
    Southampton

    SH1 HRT
    United Kingdom

    077701218989


    Thanks again Martin

  10. #10
    Join Date
    Jan 2004
    Posts
    59,761
    Blog Entries
    4
    Plugin Contributions
    133

    Default Re: Editing Order Confirmation email

    In your case probably easiest to repeat most if not all of the logic in that entire function, to build another email to send to another address.
    .

    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 1 of 2 12 LastLast

Similar Threads

  1. Admin Email copy of order confirmation
    By Tech NO Babble in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 11 Aug 2010, 01:13 PM
  2. Replies: 8
    Last Post: 18 Nov 2008, 03:28 AM
  3. Email - Office Use Only on order emails
    By NickSMM in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Feb 2008, 01:35 AM
  4. Replies: 7
    Last Post: 26 Aug 2007, 07:08 AM
  5. Replies: 4
    Last Post: 12 Jan 2007, 03:37 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
  •