e30_dk Posted February 10, 2017 Share Posted February 10, 2017 1.6.1.6 Is it possible to add important information on the invoice that customers receive after the purchase? These are approximately. 10 words. Which file should I edit? Link to comment Share on other sites More sharing options...
rocky Posted February 11, 2017 Share Posted February 11, 2017 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. 1 Link to comment Share on other sites More sharing options...
e30_dk Posted February 11, 2017 Author Share Posted February 11, 2017 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 More sharing options...
rocky Posted February 12, 2017 Share Posted February 12, 2017 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now