damnboy Posted June 5, 2013 Share Posted June 5, 2013 (edited) Hi, I'm becoming crazy trying to figure out how to be able to have different headers. The problem is that in the invoice pdf, at the beginning of the document should be a word "Invoice", and in the delivery slip "Delivery Slip". The problem is that there is only one header, and I don't know how to make prestashop to choose between different headers, or how to tell the header to choose between two possibilities. Thx you in advance. Edited June 5, 2013 by damnboy (see edit history) Link to comment Share on other sites More sharing options...
damnboy Posted June 5, 2013 Author Share Posted June 5, 2013 I have found this post http://www.prestashop.com/forums/topic/136580-modifying-pdf-slip/ But it's a little bit old, and it doesn't match with the actual code (i'm using 1.5.3.1). Anyone knows where can I find in the actual code the piece of code to modify the position of the different parts of the pdf documents? If I could overlap the header with body (invoice or delivery slip) I could keep only the logo in the header, and the rest be part of the body. Thx Link to comment Share on other sites More sharing options...
tuk66 Posted June 13, 2013 Share Posted June 13, 2013 You can create many different layouts with the M4 PDF Extensions module. No problem to have the variable header. 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