it05jb Posted October 12, 2015 Share Posted October 12, 2015 (edited) Hello all, I have searched the forums and tried a few things which didn't appear to work, also keep just finding modules that cost a fortune when I am sure this is just a small piece of code I need! I am looking to add total weight of the order onto the delivery and invoice slips. I tried adding things to the delivery-slip.product-tab.tpl file like "{$order_detail.totalweight} " and "{$order_detail.product_weight} " which either does nothing or just 0.000000 even though I have added weight into the products. Does anyone know if these figures only pull through for NEW orders after inserting weights? If anyone is able to help it would be appreciated. Version 1.6.1.1 Thanks Jack Edited October 12, 2015 by it05jb (see edit history) Link to comment Share on other sites More sharing options...
tuk66 Posted October 14, 2015 Share Posted October 14, 2015 You must add quantity * weight to the total weight for every order detail item. Then show the total weight below the items. There is also the "Delivery slips with the total weight" template in the M4 PDF Extensions module. Link to comment Share on other sites More sharing options...
it05jb Posted October 14, 2015 Author Share Posted October 14, 2015 Thats exactly what im trying to do but cant work out the code to do it. Quite simply im looking for the code that says x weight for each product in the list on a delivery slip. And then a total weight to insert to the bottom of the slip. I appreciate you make a module that does this (and probably hundreds more functions), I hope you can understand spending 100 euros for what I assume is a few words of code (what i need) seems unreasonable. Link to comment Share on other sites More sharing options...
it05jb Posted October 21, 2015 Author Share Posted October 21, 2015 Im actually quite shocked that nobody on the forums knows how to do this without spending money? I just want to display product weights on delivery slips/invoices! Jack Link to comment Share on other sites More sharing options...
Berdesse Posted January 21, 2016 Share Posted January 21, 2016 (edited) Hi All, I agree, it's very strange. Nobody wants to add the total weight on the slips or invoices ? I can't believe it. Please do something for us. I thank you so much in advance. Edited January 22, 2016 by Berdesse (see edit history) Link to comment Share on other sites More sharing options...
perot Posted February 10, 2016 Share Posted February 10, 2016 Bonjour, hello, Peut être une piste ici : http://www.lije-creative.com/prestashop-ajouter-le-poids-du-colis-sur-le-bon-de-livraison/ 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