Supported barcode types

The WooCommerce Ultimate Barcodes plugin supports a variety of barcode types like the popular QR Code , EAN 8, Code 128, to the more specific ones like Pharmacode or Intelligent Mail Barcode.

Each barcode has it’s unique advantages. Some are used to store small portions of information like numbers, when others can store a complete order data. Depending on each type of business, our plugin can offer different barcode types depending on each situation.

Supported types #

TypeNameEnabled?
C39Code 39Yes
C39+Code 39+No
C39ECode 39ENo
C39E+Code 39E+No
C93Code 93Yes
C128Code 128Yes
C128ACode 128ANo
C128BCode 128BNo
C128CCode 128CNo
CODABARCodabarYes
CODE11Code 11No
EAN2EAN 2No
EAN5EAN 5No
EAN8EAN 8Yes
EAN13EAN 13Yes
I25Code I25Yes
IMBIntelligent Mail BarcodeNo
MSIMSINo
MSI+MSI+No
PHARMAPharmacodeNo
PHARMA2TPharmacode Two TrackNo
PLANETPLANETNo
POSTNETPOSTNETNo
RMS4CCRMS4CCNo
S25Code S25Yes
UPCAUPC-AYes
DATAMATRIXData MatrixYes
PDF417PDF417Yes
QRCODEQR CodeYes
Disabled types could be enabled using a code snippet.

Enable barcode types #

By default our plugin only enables a few types, the most popular ones, but it’s possible to enable others from the list above. Using the code snippet below, and passing the type, it’s possible to enable more barcodes.

add_filter( 'wpo_wcub_barcode_supported_types', function( $types ) {
	// enables IMB
	$types['IMB']['enabled'] = true;
	// enables CODE11
	$types['CODE11']['enabled'] = true;

	return $types;
}, 10, 1 );

IMB requires PHP bcmath library #

The IMB, or Intelligent Mail Barcode, requires a PHP library to be installed in the server to work properly. This library is called bcmath. If you see an error when trying to generate a barcode of this type, please contact your hosting service provide to install the required library.