Description
The WooCommerce Product Batch Numbers add-on adds batch tables to the WooCommerce inventory tab, recording batch number, expiration date, supplier, and available quantity for simple products and variations. In the WP Overnight ecosystem, this additional module automates batch assignment to orders using FIFO and allows manual adjustment per item, helping food, supplement, and traceable-product stores maintain inventory and sales history.
Key Features of WooCommerce Product Batch Numbers
- Batch tables
Adds batch fields within the product inventory area. - FIFO assignment
Automatically distributes batches to orders in order of entry. - Monitored expiration
Changes the visual indicator when a batch reaches its expiration date. - Order history
Shows which orders used a specific batch number. - Variable products
Manages separate batches for variations with colors, sizes, or formats.
Benefits of WooCommerce Product Batch Numbers
- True traceability
Identifies buyers and orders linked to each batch sold. - Less manual control
Reduces repetitive checks by automatically assigning batches to orders. - Clearer inventory
Organizes available quantities by batch, not just by product. - Safer operations
Helps prevent the sale of expired items or items without an available batch.
Who Is WooCommerce Product Batch Numbers For?
- WooCommerce stores that sell products with batch, expiration, or origin control requirements.
- Food, supplement, cosmetics, and items subject to tracking operations.
- Managers who need to check orders affected by a specific batch.
How to Download WooCommerce Product Batch Numbers
WooCommerce Product Batch Numbers is available for download here on Ultrapack. After downloading the .zip file, install it under Plugins > Add New > Upload Plugin, select the .zip, and activate it. After activation, batch controls can be configured within the WooCommerce inventory workflow.
WooCommerce Product Batch Numbers strengthens the operational control of stores that rely on batch traceability, especially when expiration dates, suppliers, and availability need to accompany every sale. The extension organizes this information in the WooCommerce dashboard and maintains the link between product, variation, and order, making internal audits, targeted recalls, and inventory tracking by unit sold easier.
Frequently asked questions
Is WP Overnight | WooCommerce Product Batch Numbers GPL-licensed?
Yes. WP Overnight | WooCommerce Product Batch Numbers is distributed under the GPL (GNU General Public License). You may legally use, modify and redistribute it on as many sites as you want.
Can I use WP Overnight | WooCommerce Product Batch Numbers on multiple sites?
Yes. You can install WP Overnight | WooCommerce Product Batch Numbers on as many sites as you want. Only automatic updates through Ultrapack Auto Updater have a limit: from 3 to 80 sites, depending on the plan.
How much does WP Overnight | WooCommerce Product Batch Numbers cost at Ultrapack?
WP Overnight | WooCommerce Product Batch Numbers costs US$2.99 as a single purchase, and it is also included in the subscription plans starting at US$12/mo (VIP I).
Does WP Overnight | WooCommerce Product Batch Numbers include updates?
Yes. The current version of WP Overnight | WooCommerce Product Batch Numbers is 3.4.0, published at Ultrapack on Nov 24, 2025. Subscribers update straight from the WordPress dashboard with UAU (Ultrapack Auto Updater).
Is WP Overnight | WooCommerce Product Batch Numbers scanned before publication?
Yes. Every version of WP Overnight | WooCommerce Product Batch Numbers goes through a malware scan (ClamAV and YARA rules, at UltraHub) before it is published.
What are the requirements for the plugin WP Overnight | WooCommerce Product Batch Numbers?
Requires WordPress 4.9 or higher and PHP 7.4 or higher. Tested up to WordPress 6.8.
What changed in this version
Version 3.4.0 2025-10-30
- New: Added a setting to allow negative values for batch quantities in the backend
- New: Added webhook support for batch actions, triggering notifications on create, update, and delete events
- New: Added a filter to modify batch allocation arguments
- New: Added variation endpoints to REST API documentation
- Fix: Removed the `WC_Product` type hint from the `order_items_table_column_content` method to prevent fatal errors
- Fix: Corrected order note entries and report quantity records
- Fix: Adjusted the return value of the `wpo_wcpbn_get_batch` function
- Translations: Updated translation template (POT)
- Tested: Confirmed compatibility with WooCommerce 10.3
Version 3.3.0 2025-06-25
- New: Reports feature
- Fix: Corrected batch quantity updating for ATUM Inventory
- Fix: Escape the input in `get_batch_order_ids` using `wpdb::prepare`
- Fix: Expiry notifications not sent due to premature batch archiving
- Fix: Limiting add to cart when there is no PO set for batch
- Fix: Wrong position of the order data columns when other plugins add custom columns
- Translations: Updated Portuguese (Brazil) translations
- Translations: Updated translation template (POT)
- Tested: Confirmed compatibility with WooCommerce 10.0
Version 3.2.8 2025-04-08
- Fix: Batch data now correctly respects the allowed timeframe settings
- Fix: Stock management can now be enabled successfully via the REST API
- Fix: Resolved an issue that prevented inserting a batch number through the REST API
- Translations: Updated German, Italian and French translations
- Translations: Updated translation template (POT)
- Tested: Confirmed compatibility with WooCommerce 9.8
Version 3.2.7 2025-03-10
- New: Add PHP 7.4 minimum version requirement
- New: REST endpoint to update a batch
- Tweak: Display compatible plugin messages when not activated and settings when activated
- Tweak: Update parameters in `wpo_wcpbn_order_item_batch_number` and `wpo_wcpbn_allocated_batch_numbers` hooks
- Fix: Remove implicit `null` parameters in functions
- Fix: Incorrect numbers in order note when a batch is reduced
- Update: Updater version bumped to v2.1.6
- Update: Updated translation template (POT)
- Tested: Confirmed compatibility with WooCommerce 9.7
Version 3.2.6 2024-12-18
- Tweak: Updater version bumped to v2.1.5.
- Tweak: Stock synchronized on force deletion.
- Tweak: "Export" tab renamed to "Tools".
- Tweak: REST API documentation updated.
- Fix: Batch data deleted on order item deletion.
- Fix: Plugin translations loaded too early.
- Fix: Orders with batches not appearing in the "Consumed" table.
- Translations: updated translation template (POT).
- Tested: Confirmed compatibility with WooCommerce 9.5.
Release notes published by the developer.
How to install
Automatic updates: this item is updated by the Ultrapack Auto Updater. With it installed, the new version shows up in your dashboard like any other WordPress update (how to set it up).
- Download the file
woocommerce-product-batch-numbers.zip. - In the WordPress dashboard, go to Plugins > Add New > Upload Plugin.
- Select the file
woocommerce-product-batch-numbers.zipand click Install Now. - Click Activate.
Requirements: Requires WordPress 4.9 or higher and PHP 7.4 or higher. Tested up to WordPress 6.8.
Stuck on a step? Open a ticket telling us which one you stopped at.

UAU Ready