Hi guys,
I made a customisation in prestashop 1.6.15, in delivery-slip.tpl to write a barcode with order id:
{assign var=black value=[0,0,0]}{assign var=white value=[255,255,255]}
{assign var=stuff value=['position'=>'S', 'border'=>false, 'padding'=>3, 'fgcolor'=>$black, 'bgcolor'=>$white, 'text'=>true, 'font'=>'helvetica', 'fontsize'=>20, 'stretchtext'=>4]}
{assign var=params value=TCPDF::serializeTCPDFtagParameters(array("{$order->id}", 'C128', '', '', '0', 40, 0.4, $stuff, 'N'))}
<tcpdf method="write1DBarcode" params="{$barcode_params}" />
This doesn't work in TB 1.1.x (from github). First it crashes at TCPDF::serializeTCPDFtagParameters but if I move the function call in the controller it still doesn't run write1DBarcode.
This is a critical feature, needed to print carrier labels.
How can I fix it?