Eddyb Posted November 8, 2012 Share Posted November 8, 2012 Hi there, I'm using Prestashop 1.5.1 and am editing the .tpl files in the PDF folder to create a custom invoice. We use a warehouse to despatch our goods so they need to be able to see the method of shipping on the invoices. What variable name would i use to call the shipping method used? Further to this would it also be able to specifically call the customers email and telephone numbers for inclusion on the invoice? Thanks, Eddy Link to comment Share on other sites More sharing options...
mytwocentimes Posted November 23, 2012 Share Posted November 23, 2012 @Eddyb - did you get an answer to your questions or have you solved the issue ? if yes, HOW ? thanks in advance Link to comment Share on other sites More sharing options...
Eddyb Posted November 28, 2012 Author Share Posted November 28, 2012 Just solved it today using this: {$order_invoice->getCarrier($order_invoice->id)->name} Add that in pdf/invoice.tpl wherever you want to add the carrier name. Link to comment Share on other sites More sharing options...
mytwocentimes Posted November 28, 2012 Share Posted November 28, 2012 Thank you for the tip. I've used this to improve our invoice and Del slip. Now to find out what the possible variables are would be nice. Link to comment Share on other sites More sharing options...
artofadornment Posted February 28, 2013 Share Posted February 28, 2013 Thanks Eddyb! Any idea how we could add the shipping "delay" variable as well, anyone? Link to comment Share on other sites More sharing options...
Sickboards Posted August 3, 2013 Share Posted August 3, 2013 Thanks! 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