MrsBor Posted September 27, 2015 Share Posted September 27, 2015 (edited) Hello, I want to change the layout of the invoice pdf that is sent out to the customer after they have made an order. I'v read in some posts that it should be possible to edit the invoice.tpl found in some /pdf folder, but I don't have this file. I'm using Prestashop Cloud and a theme called "Electronics - PRS020027". Any help is much appreciated :-) Edited September 27, 2015 by MrsBor (see edit history) Link to comment Share on other sites More sharing options...
0 eleazar Posted September 27, 2015 Share Posted September 27, 2015 (edited) Just download a zip of the current PrestaShop. The pdf folder is included. Apply your changes, save the .tpl as invoice-new.tpl or whatev and upload the file(s) to your /themes/<yourtheme>/pdf directory. Your invoice will then be displayed as new option in the drop down in orders --> invoices. It's much easier to apply the modifications to a single invoice file like described in some threads in this forum instead of the 8 subfiles offered by PrestaShop from 1.6.1 on. If you need header and footer don't forget to upload these files to the same directory. Edited September 27, 2015 by eleazar (see edit history) Link to comment Share on other sites More sharing options...
0 MrsBor Posted September 28, 2015 Author Share Posted September 28, 2015 (edited) Just download a zip of the current PrestaShop. The pdf folder is included. Apply your changes, save the .tpl as invoice-new.tpl or whatev and upload the file(s) to your /themes/<yourtheme>/pdf directory. Your invoice will then be displayed as new option in the drop down in orders --> invoices. It's much easier to apply the modifications to a single invoice file like described in some threads in this forum instead of the 8 subfiles offered by PrestaShop from 1.6.1 on. If you need header and footer don't forget to upload these files to the same directory. Thank you for a quick reply, eleazar :-) I've downloaded all files and folders (the entire site including themes) via FTP, but I cannot find this invoice.tpl at all - not in any folder. That is my main problem. Am I missing something obvious, or could this be a difference between cloud and non-cloud Prestashops? Edited September 28, 2015 by MrsBor (see edit history) Link to comment Share on other sites More sharing options...
0 eleazar Posted September 28, 2015 Share Posted September 28, 2015 OMG, I'm really sorry that my post was that mistakable. What I meant was to download PrestaShop from here: http://https://www.prestashop.com/en/download Link to comment Share on other sites More sharing options...
0 MrsBor Posted September 28, 2015 Author Share Posted September 28, 2015 (edited) OMG, I'm really sorry that my post was that mistakable. What I meant was to download PrestaShop from here: http://https://www.prestashop.com/en/download Ah! My mistake. I must have been in another world when I read your suggestion about downloading. Luckily I have a fast internet connection I found the file, changed it a bit and upload it to /themes/<mytheme>/pdf directory as you described. According to your description, my invoice should now be displayed as new option in the drop down in orders --> invoices, but it doesn't. What am I missing? Edited September 28, 2015 by MrsBor (see edit history) Link to comment Share on other sites More sharing options...
0 MrsBor Posted September 28, 2015 Author Share Posted September 28, 2015 I just tried to upload the modified file with the "original" name (ie. invoice.tpl) to the /themes/<mytheme>/pdf directory. I then made an order and the invoice that came out of it was the modified one. Thank you for your help, eleazar - you let me to the solution Link to comment Share on other sites More sharing options...
0 eleazar Posted September 28, 2015 Share Posted September 28, 2015 Your're welcome! However, try to upload a second version with another name. Maybe it takes some time until the cloud cache is refreshed, but in the end it'll work. Link to comment Share on other sites More sharing options...
Question
MrsBor
Hello,
I want to change the layout of the invoice pdf that is sent out to the customer after they have made an order.
I'v read in some posts that it should be possible to edit the invoice.tpl found in some /pdf folder, but I don't have this file.
I'm using Prestashop Cloud and a theme called "Electronics - PRS020027".
Any help is much appreciated :-)
Edited by MrsBor (see edit history)Link to comment
Share on other sites
6 answers to this question
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