Jump to content
  • 0

How to change the invoice layout? I'm using PS Cloud


MrsBor

Question

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

  • 0

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 by eleazar  (see edit history)
Link to comment
Share on other sites

  • 0

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 by MrsBor (see edit history)
Link to comment
Share on other sites

  • 0
 

OMG, I'm really sorry that my post was that mistakable. What I meant was to download PrestaShop from herehttp://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 by MrsBor (see edit history)
Link to comment
Share on other sites

  • 0

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

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