Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    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.

  2. #12
    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

  3. #13
    Join Date
    Jan 2004
    Posts
    66,363
    Blog Entries
    7
    Plugin Contributions
    274

    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.

  4. #14
    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

  5. #15
    Join Date
    Jan 2004
    Posts
    66,363
    Blog Entries
    7
    Plugin Contributions
    274

    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.

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

    Default Re: Editing Order Confirmation email

    Hi,

    is this correct?
    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>'
    Thanks, Martin

  7. #17
    Join Date
    Jan 2004
    Posts
    66,363
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Editing Order Confirmation email

    No.

    This is the concept:
    PHP Code:
    $var 'text' ' more text ' $another_var ' and more text ' $yet_another_variable '<plus some html="markup data" etc here>' $another_variable 'plus more text'
    .

    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.

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

    Default Re: Editing Order Confirmation email

    thanks will give it a go

 

 
Page 2 of 2 FirstFirst 12

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

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR