Jump to content
  • 0

changing invoices


zwaantje89

Question

Hello,

 

Is there a way in Prestashop Cloud to change the text of invoices? 

 

If I disable that customers receive an invoice, will the mail templates be changed automaticcaly (so that they don't mention there is an invoice available in the customer account)? Or can I upload my own invoices in the customers accounts?

 

Thanks.

 

 

Link to comment
Share on other sites

24 answers to this question

Recommended Posts

  • 0

selectshop.at - Are you sure that is it possible to do? 

 

I don´t find the Invoice.tpl described in the guide on how to change the invoices. Only the header.tpl is found the the /themes/default-bootstrap-folder. 

 

Can anyone tell me if it is possible to edit the invoice.tpl on Prestashop Cloud?

Link to comment
Share on other sites

  • 0

selectshop.at - Are you sure that is it possible to do? 

 

I don´t find the Invoice.tpl described in the guide on how to change the invoices. Only the header.tpl is found the the /themes/default-bootstrap-folder. 

 

Can anyone tell me if it is possible to edit the invoice.tpl on Prestashop Cloud?

 

Yes of course it is. Login to FTP of your cloud shop and go to: /themes/default-b o o t s t r a p/pdf. Why I'm writing bo with spacing? Because it is blacklisted and you cannot add topics with this name.

 

 

I can't find the template neither.

 

I found the mail templates and changed them, but nothing about the invoices itself

 

can someone help?

What are you looking for ?

Invoice translations: tab "localization -> translations -> pdf translations

Invoice settings: tab "orders -> invoices"

Link to comment
Share on other sites

  • 0

Yes of course it is. Login to FTP of your cloud shop and go to: /themes/default-b o o t s t r a p/pdf. Why I'm writing bo with spacing? Because it is blacklisted and you cannot add topics with this name.

 

 

What are you looking for ?

Invoice translations: tab "localization -> translations -> pdf translations

Invoice settings: tab "orders -> invoices"

When I log in to FTP, go to the PDF-folder, there is only a file called index.php, which is not the invoice.tpl.

There is also a sub-folder called lang, which only contains 2 wrong files also.

Here are some screenshots of the folders I see. Are you sure you are talking about Prestashop Cloud?

 

http://i.imgur.com/DeQHLFN.jpg

http://i.imgur.com/ToCcFIu.jpg

Link to comment
Share on other sites

  • 0

For general information:

 

I´ve asked the Prestashop support team why there is no invoice.tpl in my Cloud store, and here is the answer I received:

 

In the cloud version you need to create a new file name invoice.tpl and create the template. 

We can't help you for that modification, this ticket is only for user question and not developement question.
You can contact our web agency partners : https://www.prestashop.com/en/web-agency-partners


Thanks for using our solution,
Best regards

Support

 

I would have liked to receive some information about where to place the self-created invoice.tpl file, but I guess that I will just have to experiment with that, as my ticket got closed without any chance of replying.

 

I thought some of you might be interested in knowing this.

 

-Simonkl

Link to comment
Share on other sites

  • 0

Strange... I verified on my Prestashop Cloud Shop (it is only a version for test purposes) and I have this file installed, so not omitted or not available. BUT I installed this version months ago. Perhaps they changed something for the latest installations ?

 

I've attached you the both invoice templates. Download, unzip and load them to your FTP to folder /themes/default-b o o t s t r a p/pdf

 

You should have there after:

Folder /lang

file index.php

file invoice.tax-tab.tpl

file invoice.tpl

invoice.zip

Edited by selectshop.at (see edit history)
Link to comment
Share on other sites

  • 0

Strange... I verified on my Prestashop Cloud Shop (it is only a version for test purposes) and I have this file installed, so not omitted or not available. BUT I installed this version months ago. Perhaps they changed something for the latest installations ?

 

I've attached you the both invoice templates. Download, unzip and load them to your FTP to folder /themes/default-b o o t s t r a p/pdf

 

You should have there after:

Folder /lang

file index.php

file invoice.tax-tab.tpl

file invoice.tpl

 

I´m very much looking forward to trying that tomorrow. It´s late here, but I will update here with my results tomorrow. Thank you so much for all your help.

Link to comment
Share on other sites

  • 0

Strange... I verified on my Prestashop Cloud Shop (it is only a version for test purposes) and I have this file installed, so not omitted or not available. BUT I installed this version months ago. Perhaps they changed something for the latest installations ?

 

I've attached you the both invoice templates. Download, unzip and load them to your FTP to folder /themes/default-b o o t s t r a p/pdf

 

You should have there after:

Folder /lang

file index.php

file invoice.tax-tab.tpl

file invoice.tpl

 

Hi Selectshop.at,

 

I´ve uploaded the files to the folder you said, and I now have the files in the correct place. 

I just did a test, and the invoice is still the same as before.

 

***EDIT***

 

I´ve just tested with b2b mode disabled. No changes to the invoice. I also tried to delete cache, but no changes.

Doesn´t seem like it is enough to just drop invoice.tpl and invoice.tax-tab.tpl files in the folder /themes/default-b o o t s t r a p/pdf

 

Anyone has any good ideas?

I suspect that this is because I use B2B invoices. Do you know if I can just rename the file to something for it to work with B2B invoices?

Edited by Simonkl (see edit history)
Link to comment
Share on other sites

  • 0

For b2b there is no way. Cause invoices are in this case yo cannot override the invoices on theme folder but on a folder named /pdf which is not available for Prestashop Cloud access. You should, if you don't use the software out of the box and need own configuration, buy a hosting package. Prestashop Cloud is not created for to use it with own adaptations on the software and has a restricted FTP access only.

Link to comment
Share on other sites

  • 0

For b2b there is no way. Cause invoices are in this case yo cannot override the invoices on theme folder but on a folder named /pdf which is not available for Prestashop Cloud access. You should, if you don't use the software out of the box and need own configuration, buy a hosting package. Prestashop Cloud is not created for to use it with own adaptations on the software and has a restricted FTP access only.

 

Hi selectshop.at,

 

I tried disabling B2B also, but the result was the same. I even deleted the cache before trying again after disabling B2B, but nothing changed.

 

I´m well aware that I´m limited in the Cloud. Every step of customization has been a battle, as most solutions and modules found around the web can´t be used in the Cloud. I´m going to buy some hosting before long, but I´ve put a lot of effort into the shop at the moment, and I hoped that I could at least have a basic version going in the Cloud before starting with the hosted version.

 

Guess that I just have to live with an ugly invoice until I can host my own shop.

 

Thank you anyway. I appreciate the time and effort you have put into helping.

 

Best regards,

Simonkl

Link to comment
Share on other sites

  • 0

It is a Prestashop Cloud problem. You cannot edit the invoices. The one on /themes don't take any effect, if you don't add overrides for classes and controller before with an extra module.

 

If you want to make adaptations, you should buy a hosting package. Prestashop Cloud is not created for such events. It is a out of the box without any changes use. That is the reason why it is FREE and support told you that they don't can help you.

Edited by selectshop.at (see edit history)
Link to comment
Share on other sites

  • 0

As you can see at http://doc.prestashop.com/display/PS16/PrestaShop+Cloud-specific+development, it is possible to edit /pdf files (invoice templates) as well as override classes (invoice classes from /classes/pdf).

No it is not possible. The tutorial there is not applying for Cloud. As user you cannot access to folders you need, you don't have access to folder /pdf. See screen attached to which folders you have access as Cloud USER.

post-741527-0-59634600-1427200557_thumb.jpg

Link to comment
Share on other sites

  • 0

I see. You mentioned folders described under "Read- and write-accessible per-store files and folders through FTP".

 

So there must be another, maybe hidden, option how to do it. See the "Read- and write-accessible per-store files and folders:" paragraph. Maybe those files are accesible through code.

Link to comment
Share on other sites

  • 0

a) yes. On the tab "localization -> translations -> pdf translations.

b ) no and no. BUT you can modify the template: https://www.prestashop.com/forums/topic/213664-guide-modifying-prestashop-15-invoice-template/ )is also valid for PS 1.6.)

Hello,

I just added / changed some translations in email templates translation section and after saving all 66 core emails disappeared.

It says "There was a problem getting the mail files." AND " A mail directory exists for the "sk" language, but not for the default language (en) in /themes/default-bootstrap/mails"

 

Other languages still have these 66 documents shown.

 

 

Can anybody help please?

Edited by JanM (see edit history)
  • Like 1
Link to comment
Share on other sites

  • 0

Same problem as janM,

Changed email template translation and got this error after savings

 

"A mail directory exists for the "ar" language, but not for the default language (en) in /themes/default-bootstrap/mails"

My translation was to arabic, now I cannot modify the translation of emails template anymore.

Any help would be appreciated.

Thanks

Link to comment
Share on other sites

  • 0

As the translations of mails are added to the core AND to the template, you should use the support of Prestashop Cloud please. On your Cloud account management "support" tab.

 

Sorry but I cannot help in this case.

Thank you, I contacted the Prestashop support as you advised and they solved it very quickly.

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