Include Customer Notes On Supplier Emails

Hi everyone



We use the supplier addon to forward orders to our drop shipping suppliers.



I've stripped down the code for the supplier automated email so that it will appear more like a delivery note with the bare minimum being shown. It now only shows the header with our logo and address, the customers shipping address and the products ordered. That way our supplier can print out the automated email without having to edit it at all and include the print with the shipment when they dispatch.



the code i have looks like so. it can be found at /public_html/design/backend/mail/templates/addons/suppliers/notification.tpl


```php

{__(“supplier_email_header”)}





{include file=“addons/suppliers/invoice.tpl”}



Thank you for shopping with us. If you have any you have any questions please contact us.


Kind regards

Artemis Team

```

The problem we have at the moment is our supplier emails do not include the customer notes. Our customers often leave delivery instructions in the notes box at the checkout and we need the supplier to receive these as well.

could someone please suggest a way, preferably a section of code that we can add to our current template, which will display this information?

thanks
Jamie

Add the following code to the notification.tpl file:



{if $order_info.notes}








{__("notes")}:
{$order_info.notes|nl2br nofilter}

{/if}




Hope this will help

[quote name='eComLabs' timestamp='1421243124' post='202590']

Add the following code to the notification.tpl file:



{if $order_info.notes}








{__("notes")}:
{$order_info.notes|nl2br nofilter}

{/if}




Hope this will help

[/quote]



Thanks eComLabs



tested and works like a charm!

You are welcome!