- Summary
- WPC Order Barcodes is a WooCommerce plugin that generates unique barcodes for each order, streamlining the order fulfillment process by allowing administrators to quickly scan barcodes to retrieve order details and manage inventory.
WPC Order Barcodes is a WooCommerce plugin that generates unique barcodes for each order, streamlining the order fulfillment process by allowing administrators to quickly scan barcodes to retrieve order details and manage inventory
- Automatic Barcode Generation: Unique barcodes/QR codes are automatically generated for every new order.
- Multiple Barcode Types: Supports QR Code, EAN-13, Code 128, Data Matrix, and Code 39.
- Highly Customizable: Set custom prefixes, choose barcode types, and adjust display positions.
- Frontend Display: Show barcodes in order emails, order received (thank you) pages, and member’s “View Order” pages.
- Interactive Scanner: Built-in scanner to look up order information instantly using a camera or manual input.
- Shortcode Powered: Display barcodes and scanners anywhere on your site using flexible shortcodes.
Shortcodes
WPC Order Barcodes provides two main shortcodes with advanced attributes for maximum flexibility:
1. Barcode Display: [wpcob_barcode]
This shortcode is designed to be highly versatile, allowing other plugins, custom themes, or page builders to easily display an order’s barcode.
- `order_id`: The ID of the WooCommerce order. If omitted, it shows a sample barcode (useful for previews).
- `code_type`: Override the default barcode type (e.g., `qrcode`, `ean13`, `code128`, `datamatrix`, `code39`).
- `width`: Set the barcode scaling/width.
Example: `[wpcob_barcode order_id=”123″ code_type=”qrcode” width=”200″]`
2. Barcode Scanner: [wpcob_scanner]
Display a fully functional barcode scanner on any page. It features an intelligent popup mode that is perfect for tight layouts.
- `display_result`: Choose between `inline` (default) or `popup`.
Example: `[wpcob_scanner display_result=”popup”]`
Popup Mode Benefit: By setting `display_result=”popup”`, scanning information and the camera interface won’t break your website’s layout. This makes it ideal for placing the scanner in condensed areas like the Header, Sidebar, or within a Sticky Menu.
Patched Method: