Jump to content

Insert invoice note into order-detail.tpl


Recommended Posts

Hi,

 

I copied this code in invoice.tpl:

{if isset($order_invoice->note) && $order_invoice->note}
<div style="line-height: 1pt"> </div>
<table style="width: 100%">
	<tr>
		<td style="width: 17%"></td>
		<td style="width: 83%">{$order_invoice->note|nl2br}</td>
	</tr>
</table>
{/if}

Then pasted codes into theme/default/order-history.tpl at line 82

{if isset($followup)}
<p class="bold">{l s='Click the following link to track the delivery of your order'}</p>
<a href="{$followup|escape:'html':'UTF-8'}">{$followup|escape:'html':'UTF-8'}</a>
{/if}

{if isset($order_invoice->note) && $order_invoice->note}
<p class="bold">{$order_invoice->note|nl2br}</p>
{/if}

I can not view order note in front office.

 

Please help.

Link to comment
Share on other sites

  • 5 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...