Plugin Contributor
Ewout
(@pomegranate)
Hi! There is no built in function for this in either the free or pro version, but you can easily add this yourself, check out this thread.
Hope that helps, have a fantastic week!
Ewout
Hello,
Thanks for your support. It’s looking good and how if barcode number is different than order number??
The barcode numbers are placed in a excel sheet.
Help me in solving this issue. Thanks in advance.
Plugin Contributor
Ewout
(@pomegranate)
Hi!
You can use any number, as long as it is stored in the order in the WordPress/WooComemrce database. You can do this via a custom field.
For example, if you add a custom field called “Barcode”, you could use the following code:
<?php $barcode = $wpo_wcpdf->get_custom_field('Barcode'); ?>
<img style="width: 3cm; height: auto;" src="http://www.barcode-generator.org/zint/api.php?bc_number=20&bc_data=<?php echo $barcode; ?>"/>
You may be able to import the data from the excel sheet to the orders with an importer plugin, but I don’t have any experience doing this.
Good luck!