Generate Unique Barcodes for WooCommerce Orders


ProgramMatek’s WooCommerce Order Barcodes is an essential plugin that generates unique barcodes for every order placed on your website. These barcodes provide a convenient way to manage e-tickets, e-reservations, packing slips, and more.

Benefits of WooCommerce Order Barcodes

Barcodes are automatically generated for every order as soon as they are placed, including orders created manually via the WordPress dashboard. Customers can easily print out the barcode if needed. The barcode is included in all order emails and can be found on the order details page in the customer’s WooCommerce account area.

A unique barcode, as it appears on the order details page


To install the WooCommerce Order Barcodes plugin, follow these steps:

  1. Download the .zip file from your ProgramMatek account.
  2. Go to WordPress Admin > Plugins > Add New and upload the downloaded file.
  3. Install and activate the extension.

For more information on how to install and activate plugins/extensions, visit ProgramMatek.

Plugin installation


To configure the settings for the WooCommerce Order Barcodes plugin, follow these steps:

  1. Go to WooCommerce > Settings > General.
  2. Scroll down to the Order Barcodes section.
  3. Select the desired Barcode Type and Barcode Colors.

Remember, changing the settings will only affect future barcodes, and previously generated barcodes will remain unaffected.

Examples of the five available barcode types

Choosing the Right Barcode Type

There are five barcode types available with the WooCommerce Order Barcodes extension. Each type has its own use case:

  • Code 39, 93, and 128 barcodes work with standard USB barcode scanners.
  • Data Matrix and QR Code types work with digital scanners and mobile devices.
See also  Elevate Your WooCommerce Website with Elementor Widgets

Choose the barcode type that best suits your needs and preferences.

Viewing and Scanning Barcodes

Once the WooCommerce Order Barcodes extension is active, you can view existing barcodes on the order edit screen in the WordPress dashboard. To scan barcodes, you need to create a page and use the [scan_barcode] shortcode.

The scanning form allows you to scan or enter a barcode and perform various actions on the linked order, such as lookup, complete, check-in, or check-out. You can even pre-select an action by using the action parameter in the shortcode.

Please note that scanning the barcode only inputs information into the form field on the shortcode page and does not perform any other actions automatically.

Scanning Barcodes with a Smartphone or Tablet

Scanning barcodes for events is most commonly done using a smartphone or tablet. Simply load the page with the scanning form in the browser of your device and use a third-party scanning app of your choice to scan your barcodes.

While we recommend several apps that have proven effective during testing, it’s important to note that we cannot guarantee or support the functionality of any third-party apps.


If you encounter any issues with barcode display in Gmail, you may need to adjust your Gmail settings. Enable the option to “Always display external images” in the General tab of your Gmail settings.

Gmail settings for displaying images

In some cases, WP Engine users may face issues with images not loading due to redirects from Google Proxy Servers. Disabling the “Redirect Bots” setting in your WP Engine account utilities section can resolve this issue. It’s advisable to consult WP Engine support for further assistance with removing the redirect specifically for Google’s Proxy Server requests.

See also  WooCommerce Amazon Fba

If the barcode or QR code does not display in your print preview, ensure that background graphics are enabled in the settings of the program you are using to preview the barcode or QR code.

Troubleshooting Barcode Scanning Errors

If you encounter a “permission denied” error when scanning barcodes, please follow these steps:

  1. If you see a security token error, add the provided snippet to your theme’s functions.php file to disable the nonce check.
  2. If the error is related to user permissions, add the provided snippet to your theme’s functions.php file to enable scanning permissions for all users.

Generating Barcodes for Existing Orders

Existing orders do not automatically have barcodes added to them. To generate barcodes for these orders, simply visit the order page in the WordPress dashboard, and a unique barcode will be generated and added to the order as you load the page.

Need Assistance?

If you have any pre-sales questions or require support for the WooCommerce Order Barcodes extension, please contact our friendly Happiness Engineers via the Help Desk.

ProgramMatek is here to make barcode management for WooCommerce orders a breeze!