Jump to content

[Solved] How to display "Total weight" in PDF?


Recommended Posts

  • 2 months later...
Hello
Sorry 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...