Artizzz Posted April 8, 2011 Share Posted April 8, 2011 Hello!I'm interested in code that displays total weight in PDF invoice. I display unit weight by this method - http://www.prestashop.com/forums/viewthread/72776/ but I also need to display total weight,Best regards,Artizzz Link to comment Share on other sites More sharing options...
achica Posted June 8, 2011 Share Posted June 8, 2011 HelloSorry for my English. Have you managed to show the total weight on the invoice in pdf?.Thanks for your help. Link to comment Share on other sites More sharing options...
Artizzz Posted June 14, 2011 Author Share Posted June 14, 2011 HelloSorry for my English. Have you managed to show the total weight on the invoice in pdf?.Thanks for your help. Here is the code:$this->Cell(10, 1,self::l('Total weight:').' '.Tools::iconv('utf-8', self::encoding(), $carrier->name).' '.number_format(self::$order->getTotalWeight(), 3).' '. Configuration::get('PS_WEIGHT_UNIT')); Link to comment Share on other sites More sharing options...
achica Posted June 15, 2011 Share Posted June 15, 2011 Muchísimas gracias, thanks you. 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