midana Posted November 20, 2013 Share Posted November 20, 2013 I would like to change some things in invoice.tpl and header.tpl in the pdf directory. Where do I put the new files? In override/pdf ?Also, the logo looks streched in the invoice, how do I fix this? Thanks in advance. Link to comment Share on other sites More sharing options...
vekia Posted November 20, 2013 Share Posted November 20, 2013 you can use theme files directory /themes/YOUR_THEME/pdf/ Link to comment Share on other sites More sharing options...
midana Posted November 21, 2013 Author Share Posted November 21, 2013 Thank you, I'm guessing it takes a while before the changes shows up. Do you know the easiest way to preview the changes? Link to comment Share on other sites More sharing options...
tuk66 Posted November 22, 2013 Share Posted November 22, 2013 Clear cache in /cache/smarty/compile (all folders). Link to comment Share on other sites More sharing options...
vekia Posted November 22, 2013 Share Posted November 22, 2013 definitely case related to cache, in back office there is an option to clear cache with one mouse clich: adv. paramters > performance you will see button there to clear cache (near cache option field) Link to comment Share on other sites More sharing options...
midana Posted November 22, 2013 Author Share Posted November 22, 2013 Thank you.Is there an easier way to see a preview/the pdf than to generate an invoice through orders to see the results of each change I do to the code? Link to comment Share on other sites More sharing options...
midana Posted December 5, 2013 Author Share Posted December 5, 2013 I found that I could check it easier by going in at Orders > Invoices and create pdf that way. 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