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.
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
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.
Hi,
tried the below and still no joy:
When I goto checkout the page just goes blank.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 again Martin
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.
Hi,
is this correct?
Thanks, MartinPHP 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>';
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.
thanks will give it a go
Bookmarks