Jump to content

Is it possible to add important information on the invoice?


e30_dk

Recommended Posts

You can go to the Orders > Invoices tab and enter the text in "Legal free text" to display it below the payment methods summary or "Footer text" to display it at the bottom of the invoice. If you need more precise positioning, you'll need to copy the appropriate invoice TPL file from the pdf directory to the themes/<your_theme>/pdf directory and then add the text anywhere you want in the file.

  • Like 1
Link to comment
Share on other sites

Is that you have this invoice.tpl I found the pdf / as you think

<tr>

<td colspan="7" class="left small">

 

<table>

<tr>

<td>

<p>{$legal_free_text|escape:'html':'UTF-8'|nl2br}</p>

</td>

</tr>

</table>

 

</td>

</tr> 

If that's how I write it without breaking anything?

Here is the text I want to add

"Du er velkommen til at betale med Mobilepay: 21305030, blot tjek ud og brug Mobilepay"

Link to comment
Share on other sites

I think it's easier to put it within the legal text, but if you don't want to do that, you can change the code like this:



<p>{$legal_free_text|escape:'html':'UTF-8'|nl2br}</p>
<p>{l s='Du er velkommen til at betale med Mobilepay: 21305030, blot tjek ud og brug Mobilepay'}</p>

Link to comment
Share on other sites

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...