Hi,
I see that the lib have "getFontSize / setFontSize" functions but there is no single call of the "set".
So I guess that you can see to replace
$obj->setShowText($showText);
By
$obj->setShowText($showText);
if ($showText && $width > 1) {
$fontSize = $obj->getFontSize() * $width;
$obj->setFontSize($fontSize);
}
In order to change the font size with the same factor than the width.
About the display of the serial ; you just need to change the configuration of your "attach serial" instance and just display the serial as a "barcode" and not as a raw text.
The Code39 barcode format perform a little modification of the content ; some formats (like EAN13) requires a content which follow the specifications but some other format will add some content to include the checksum (etc).
For your last question, it would require a custom plugin in order to change the serial display.
You have to use the trigger "onDisplaySerials" to do so :
www.hikashop.com/support/documentation/1...fct_ondisplayserials
Regards,
PS : Please try to avoid the multiple edition of your message in order to add new questions