Results 1 to 10 of 18

Hybrid View

  1. #1
    Join Date
    Mar 2005
    Location
    Scotland
    Posts
    76
    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

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

    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!
    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
    Mar 2005
    Location
    Scotland
    Posts
    76
    Plugin Contributions
    0

    Default Re: Editing Order Confirmation email

    Thanks again for your help. It turns out after speaking with the client they only need 2 copies now (save paper) and don't need the kitchen copy section.

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

    Default Re: Editing Order Confirmation email

    Quote Originally Posted by mkyle View Post
    Thanks again for your help. It turns out after speaking with the client they only need 2 copies now (save paper) and don't need the kitchen copy section.

    Hi,

    looking for some assistance on one last piece of the jigsaw. My client would like to have a box next to each product ordered on the admin confirmation so that the order can be checked when being packed by kitchen staff before going out for delivery. I thought entering the below would be sufficient in line 943 of class file order.php

    $html_msg['PRODUCTS_DETAIL']='<table class="product-details" border="0" width="100%" cellspacing="0" cellpadding="2">' . $this->products_ordered_html . <img src="http://www.joeblogs.com/restuarant.co.uk/images/square.gif"/> .'</table>';

    Please can you advise if this is possible and what I am doing incorrectly

    Thanks, Martin

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

    Default Re: Editing Order Confirmation email

    The <img ...> part isn't inside single-quotes like the rest of the content is. Thus I wouldn't be surprised if it's triggering a syntax error.
    .

    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.

  6. #6
    Join Date
    Mar 2005
    Location
    Scotland
    Posts
    76
    Plugin Contributions
    0

    Default Re: Editing Order Confirmation email

    Hi,

    tried the below and still no joy:
    PHP Code:
     $html_msg['PRODUCTS_DETAIL']='<table class="product-details" border="0" width="100%" cellspacing="0" cellpadding="2">' $this->products_ordered_html .' <img src="http://www.joeblogs.com/restuarant.co.uk/images/square.gif"/> .'</table>'; 
    When I goto checkout the page just goes blank.

    Thanks again Martin

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

    Default Re: Editing Order Confirmation email

    You need matching quotes. You only added one.
    .

    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.

 

 

Similar Threads

  1. Possible to change "Email From" on order confirmation?
    By fritzy in forum General Questions
    Replies: 1
    Last Post: 10 Aug 2011, 02:08 AM
  2. Remove "Zen-Cart!" from Title in Admin Section
    By MCanes in forum General Questions
    Replies: 1
    Last Post: 3 Jun 2008, 05:23 AM
  3. Replies: 7
    Last Post: 26 Aug 2007, 07:08 AM
  4. Replies: 4
    Last Post: 12 Jan 2007, 03:37 PM
  5. Adding Information to "Office Use Only" Email Footer
    By leonardawilson in forum General Questions
    Replies: 16
    Last Post: 15 Nov 2006, 05:21 AM

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