Title: Order Barcode
Last modified: August 30, 2016

---

# Order Barcode

 *  Resolved [ajith01288](https://wordpress.org/support/users/ajith01288/)
 * (@ajith01288)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/order-barcode/)
 * Hello,
 * Thanks for amazing plugin.
 * I wanted to add **order barcode** on packingslip. Is this possible in either 
   free or pro versions???
 * Thanks in advance.
 * [https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/order-barcode/#post-6847373)
 * 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](https://wordpress.org/support/topic/add-a-barcode-to-pdf-invoice-for-easy-order-scans?replies=5).
 * Hope that helps, have a fantastic week!
 * Ewout
 *  Thread Starter [ajith01288](https://wordpress.org/support/users/ajith01288/)
 * (@ajith01288)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/order-barcode/#post-6847470)
 * 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](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/order-barcode/#post-6847472)
 * 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!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Order Barcode’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-pdf-invoices-packing-slips/assets/icon-256x256.
   png?rev=2189942)
 * [PDF Invoices & Packing Slips for WooCommerce](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Ewout](https://wordpress.org/support/users/pomegranate/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/order-barcode/#post-6847472)
 * Status: resolved