netmechanics Posted November 2, 2012 Share Posted November 2, 2012 Does anybody know how to get variables for total weight and carrier in /pdf/invoice.tpl ? Many thanks, Gwilym Link to comment Share on other sites More sharing options...
tuk66 Posted November 2, 2012 Share Posted November 2, 2012 Delivery slips with the total weight template in M4 PDF Extensions diplays total weight as well as carrier out of the box. Link to comment Share on other sites More sharing options...
mytwocentimes Posted November 15, 2012 Share Posted November 15, 2012 Does anybody know how to get variables for total weight and carrier in /pdf/invoice.tpl ? Many thanks, Gwilym I found some success with "{$order->getTotalWeight()}" I'm not a programmer but it got me what I wanted D Link to comment Share on other sites More sharing options...
mytwocentimes Posted November 23, 2012 Share Posted November 23, 2012 @netmechanics - did you try my suggestion ? if it worked, could you edit your thread title to SOLVED :-) Link to comment Share on other sites More sharing options...
Eddyb Posted November 28, 2012 Share Posted November 28, 2012 You can add the carrier name in pdf/invoice.tpl using: {$order_invoice->getCarrier($order_invoice->id)->name} 1 Link to comment Share on other sites More sharing options...
Recommended Posts