jdmorrisn Posted October 16, 2010 Share Posted October 16, 2010 Hi,I have searched throughout the whole forum and found all the answers I need on what and how to edit the pdf invoice to include additional information.But no matter what I do - even the smallest change - it just doesn't like it. And I get the same error everytime. Even if I save the file to my desktop and reupload it without any changes I still get the same error message below.FPDF error: Some data has already been output, can't send PDF fileDoes anybody have any idea why or what I am missing? What can be the problem?And why anyway does it have to be so complicated? Why can we not just add lines in the translations in the BO to add additional content. It is a must that Prestashop revise the pdf invoice format for future - because for what is essentially the most important document to output - it is pretty garbage I'm afraid. Link to comment Share on other sites More sharing options...
keutche Posted October 16, 2010 Share Posted October 16, 2010 HI there is a module available for that.here is the link :http://addons.prestashop.com/fr/facturation/437-fonctionnalites-front-office-custom-invoice.htmlHope it helps you Keutche Link to comment Share on other sites More sharing options...
jdmorrisn Posted October 16, 2010 Author Share Posted October 16, 2010 Now that's what I was hoping for - super. Downloaded and it works.Only one thing is that it doesn't show correctly language characters that are different (ä) etc. And it doesn't have anywheere in the BO to translate - how can I correct the text, any ideas? Link to comment Share on other sites More sharing options...
keutche Posted October 16, 2010 Share Posted October 16, 2010 Hi,this bug is supposed to be corrected, for example it works for me with "é" "è" latin characters.For your issue i suggest you modify the "jbx_custominvoice.php" file inside your module directorythen go to line 116 and try to change "iso-8859-1" by you language code. Link to comment Share on other sites More sharing options...
jdmorrisn Posted October 16, 2010 Author Share Posted October 16, 2010 Hi, thanks for the help. I just took a look and I don't have anything in the file like you mentioned.You can see it attached. jbx_custominvoice.php Link to comment Share on other sites More sharing options...
keutche Posted October 16, 2010 Share Posted October 16, 2010 Ok, you got the version 1.0 and mine is 1.1I guess the version on prestashop website is out of date.Here is the link to download the latest version :http://www.julien-breux.com/2009/11/30/custom-invoice-v1-0/I hope it works better for you with this one Link to comment Share on other sites More sharing options...
jdmorrisn Posted October 16, 2010 Author Share Posted October 16, 2010 Really a great help - thanks for rounding off my night on a good note - it all works fantastic now. Link to comment Share on other sites More sharing options...
peanut Posted October 21, 2010 Share Posted October 21, 2010 HiCan u tell me what is the change I need to make in the language code for English?Thanks Link to comment Share on other sites More sharing options...
jdmorrisn Posted November 5, 2010 Author Share Posted November 5, 2010 You can find all translations in the Back Office (Tools - Translations). This one is Modules or Front Office - can't remember.I have a problem that I have now added Paypal and now the pdf files made when paying through paypal duplicate the lines of text (VAT etc) which means the first line of the extra information is half off the page. Any idea how to correct this?Since adding paypal what it does is now add the gift wrapping amounts across the bottom (horizontally) even though gift wrapping is already in the summing up total - how can i remove it so it doesn't show it twice? Link to comment Share on other sites More sharing options...
istox Posted June 26, 2011 Share Posted June 26, 2011 And how insert this info here: 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