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 #
Type | Name | Enabled? |
---|---|---|
C39 | Code 39 | Yes |
C39+ | Code 39+ | No |
C39E | Code 39E | No |
C39E+ | Code 39E+ | No |
C93 | Code 93 | Yes |
C128 | Code 128 | Yes |
C128A | Code 128A | No |
C128B | Code 128B | No |
C128C | Code 128C | No |
CODABAR | Codabar | Yes |
CODE11 | Code 11 | No |
EAN2 | EAN 2 | No |
EAN5 | EAN 5 | No |
EAN8 | EAN 8 | Yes |
EAN13 | EAN 13 | Yes |
I25 | Code I25 | Yes |
IMB | Intelligent Mail Barcode | No |
MSI | MSI | No |
MSI+ | MSI+ | No |
PHARMA | Pharmacode | No |
PHARMA2T | Pharmacode Two Track | No |
PLANET | PLANET | No |
POSTNET | POSTNET | No |
RMS4CC | RMS4CC | No |
S25 | Code S25 | Yes |
UPCA | UPC-A | Yes |
DATAMATRIX | Data Matrix | Yes |
PDF417 | PDF417 | Yes |
QRCODE | QR Code | Yes |
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.