Lizenka Posted May 9 Share Posted May 9 Hello, I want to add a delivery time to the PDF invoice. Can that be done without module? Link to comment Share on other sites More sharing options...
Prestashop Addict Posted May 9 Share Posted May 9 If you have php / smarty skills,yes 😉 Link to comment Share on other sites More sharing options...
Lizenka Posted May 9 Author Share Posted May 9 (edited) I don't have much PHP experience, but it has worked every time so far what I want to do But I need some help please Edited May 9 by Lizenka (see edit history) Link to comment Share on other sites More sharing options...
Prestashop Addict Posted May 12 Share Posted May 12 Where the delivery time comes from? Link to comment Share on other sites More sharing options...
Lizenka Posted May 12 Author Share Posted May 12 Delivery time in my backoffice, Link to comment Share on other sites More sharing options...
Prestashop Addict Posted May 12 Share Posted May 12 Please can you specify PS version? Link to comment Share on other sites More sharing options...
Lizenka Posted May 12 Author Share Posted May 12 PS version 1.7.8.11 Link to comment Share on other sites More sharing options...
Prestashop Addict Posted May 12 Share Posted May 12 You have to override class classes/order/OrderInvoice.php and then the template in your theme themes/yourtheme/pdf/invoice.product-tab.tpl. And the field you want to display is in ps_product_lang column delivery_in_stock Link to comment Share on other sites More sharing options...
Lizenka Posted May 12 Author Share Posted May 12 Thanks. I'm going to spend some time on this 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