ConH Posted October 28, 2021 Share Posted October 28, 2021 For a customers employee-shop I have set up a shop with their logo and all. On the invoices and other PDF attachments our own logo and address must be used, since we are the invoicing company. Is this possible, and where do I start looking for this change? I have found the TPL files, but there is a warning not to change them because of possible update conflicts. Thanks! Link to comment Share on other sites More sharing options...
ConH Posted November 1, 2021 Author Share Posted November 1, 2021 bump Link to comment Share on other sites More sharing options...
dauerfrager Posted November 1, 2021 Share Posted November 1, 2021 (edited) Funny question. Make changes but be aware of update conflicts. My first tipp is not to use automatic updates which can have fatal consequences (like the now 1.7.8.0). My second tipp is to manually edit the header.tpl and footer.tpl in the httpdocs/pdf directory and use static data. If you want still automatic updates there is the possibility to remove write on these files and they can not be overwritten. It is possible to upload a different logo for invoices in Prestashop -> Design but think it will help only for the logo. Mainly it is used to have a logo in another size/resolution but can be totally different as well. Other data like address and bank data and so on need to be static in the file if it is different from the shop data. There is a system with override directories existing as well but not sure. Not trustable for me as my custom.css has been replaced with an empty custom.css by the first and last automatic update. So I don't set a penny on override directories. Edited November 1, 2021 by dauerfrager (see edit history) 1 Link to comment Share on other sites More sharing options...
ConH Posted November 1, 2021 Author Share Posted November 1, 2021 Thanks. I changed a bit in a few TPLs and it looks like what I need now 😉 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