slyme1979 Posted June 30, 2008 Share Posted June 30, 2008 Hi All,How do I change "INVOICE" header in generated pdf (in Order History) to another name? eg."TAX INVOICE".Please advice. Thanks.J. Link to comment Share on other sites More sharing options...
slyme1979 Posted July 1, 2008 Author Share Posted July 1, 2008 Anybody out there? Is it my question or just nobody bothers to reply? Link to comment Share on other sites More sharing options...
Peter Wilson Posted July 1, 2008 Share Posted July 1, 2008 Hello,PDF text is editable in the same place as 95% of PrestaShop text is editable.Please check our Wiki for detatils:http://www.prestashop.com/wiki/Languages_and_Translations/#Creating_or_modifying_a_language_translationIn step 2, select "PDF translations" in the drop-down list instead.That should do it! Link to comment Share on other sites More sharing options...
slyme1979 Posted July 1, 2008 Author Share Posted July 1, 2008 Think you misunderstood my question. (Btw I know most text in Prestashop is editable. Thanks.)Am trying to change the "title" of the .pdf invoice in users' Order History, from "INVOICE" to something else. Have been trying to locate which file actually generates this but to no avail. Please advice. Thanks. Link to comment Share on other sites More sharing options...
DrÿSs' Posted July 1, 2008 Share Posted July 1, 2008 Think you misunderstood Peter's answer.Follow what he said and you will be able to change this text Link to comment Share on other sites More sharing options...
Peter Wilson Posted July 1, 2008 Share Posted July 1, 2008 ;-) Link to comment Share on other sites More sharing options...
slyme1979 Posted July 1, 2008 Author Share Posted July 1, 2008 Ok I've followed steps and there's no “PDF translations” or drop-down list. Is it due to the fact i'm still using 0.97 RC1?Sorry for the trouble. Link to comment Share on other sites More sharing options...
DrÿSs' Posted July 1, 2008 Share Posted July 1, 2008 Yes. Link to comment Share on other sites More sharing options...
slyme1979 Posted July 1, 2008 Author Share Posted July 1, 2008 May i ask what is your advice on the topic? Link to comment Share on other sites More sharing options...
Peter Wilson Posted July 1, 2008 Share Posted July 1, 2008 For v0.9.7, open the file :class/PDF.php and edit line 85 : $this->Cell(80, 10, self::l('INVOICE #').sprintf('d', self::$order->id), 0, 0, 'C'); by : $this->Cell(80, 10, self::l('TAX INVOICE #').sprintf('d', self::$order->id), 0, 0, 'C'); Link to comment Share on other sites More sharing options...
slyme1979 Posted July 2, 2008 Author Share Posted July 2, 2008 Thank you very much... Really appreciate it. **Please let me know if there's anyway I can contribute to Prestashop or the Dev Team, other than programming Sincerely... Link to comment Share on other sites More sharing options...
Recommended Posts