Pavlin17 Posted January 18, 2019 Share Posted January 18, 2019 After upgrade to Prestashop 1.7.5 The company’s address disappeared from the pdf invoice How can I return it to the first column of the invoice under the logo? Many thanks Link to comment Share on other sites More sharing options...
espacious Posted January 31, 2020 Share Posted January 31, 2020 Same problem here. Prestashop 1.7.6.2 Any info? Thanks. Link to comment Share on other sites More sharing options...
espacious Posted January 31, 2020 Share Posted January 31, 2020 I found the solution. Edit the ../pdf/invoice.addresses-tab.tpl, seems they removed this code from 1.7, i dont understand why. May be a bug. See the screen. 1 Link to comment Share on other sites More sharing options...
Jontee Posted March 12, 2022 Share Posted March 12, 2022 Hi, I have NEVER thought of this but it really differs from 1.6 and 1.7, the store details in the header, first column, isn't there in Prestashop 1.7. Any official solution how to achieve the same results as in 1.6? Can it be changed in backend? Best regards, Link to comment Share on other sites More sharing options...
pcdokteruden Posted April 19, 2023 Share Posted April 19, 2023 On 3/12/2022 at 3:25 AM, Jontee said: Hi, I have NEVER thought of this but it really differs from 1.6 and 1.7, the store details in the header, first column, isn't there in Prestashop 1.7. Any official solution how to achieve the same results as in 1.6? Can it be changed in backend? Best regards, Maybe a bit late but you only have to edit one file (use ftp or filecommander in control center of your hosting provider) First find this code in root pdf/delivery-slip.addresses-tab.tpl and copy it <td width="33%"><span class="bold"> </span><br/><br/> {$order_invoice->shop_address} </td> Then open invoice.addresses-tab.tpl and paste the code just above delivery_address, now it looks like this <table id="addresses-tab" cellspacing="0" cellpadding="0"> <tr> <td width="33%"><span class="bold"> </span><br/><br/> {$order_invoice->shop_address} </td> <td width="50%">{if $delivery_address}<span class="bold">{l s='Delivery Address' d='Shop.Pdf' pdf='true'}</span><br/><br/> {$delivery_address} {/if} </td> <td width="50%"><span class="bold">{l s='Billing Address' d='Shop.Pdf' pdf='true'}</span><br/><br/> {$invoice_address} </td> </tr> </table> Last but not least change 50% to 33% and save the file. That's it Maybe you have to clear cache and rebuild files. Regards, Johan Link to comment Share on other sites More sharing options...
El plan de Dan Posted July 2, 2023 Share Posted July 2, 2023 On 1/31/2020 at 6:45 AM, espacious said: I found the solution. Edit the ../pdf/invoice.addresses-tab.tpl, seems they removed this code from 1.7, i dont understand why. May be a bug. See the screen. You're my saviour, thanks so much! 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