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.
Re: Editing Order Confirmation email
Quote:
Originally Posted by
mkyle
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
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.
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
Re: Editing Order Confirmation email
You need matching quotes. You only added one.
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
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';
Re: Editing Order Confirmation email