2025 · 4 versions
3.4.0
Latest4 new3 fixes2 changes
New- Added a setting to allow negative values for batch quantities in the backend
- Added webhook support for batch actions, triggering notifications on create, update, and delete events
- Added a filter to modify batch allocation arguments
- Added variation endpoints to REST API documentation
Fixed- Removed the `WC_Product` type hint from the `order_items_table_column_content` method to prevent fatal errors
- Corrected order note entries and report quantity records
- Adjusted the return value of the `wpo_wcpbn_get_batch` function
Changes- Translations: Updated translation template (POT)
- Tested: Confirmed compatibility with WooCommerce 10.3
3.3.0
1 new5 fixes3 changes
Fixed- Corrected batch quantity updating for ATUM Inventory
- Escape the input in `get_batch_order_ids` using `wpdb::prepare`
- Expiry notifications not sent due to premature batch archiving
- Limiting add to cart when there is no PO set for batch
- Wrong position of the order data columns when other plugins add custom columns
Changes- Translations: Updated Portuguese (Brazil) translations
- Translations: Updated translation template (POT)
- Tested: Confirmed compatibility with WooCommerce 10.0
3.2.8
3 fixes3 changes
Fixed- Batch data now correctly respects the allowed timeframe settings
- Stock management can now be enabled successfully via the REST API
- Resolved an issue that prevented inserting a batch number through the REST API
Changes- Translations: Updated German, Italian and French translations
- Translations: Updated translation template (POT)
- Tested: Confirmed compatibility with WooCommerce 9.8
New- Add PHP 7.4 minimum version requirement
- REST endpoint to update a batch
Improved- Display compatible plugin messages when not activated and settings when activated
- Update parameters in `wpo_wcpbn_order_item_batch_number` and `wpo_wcpbn_allocated_batch_numbers` hooks
- Updater version bumped to v2.1.6
- Updated translation template (POT)
Fixed- Remove implicit `null` parameters in functions
- Incorrect numbers in order note when a batch is reduced
Changes- Tested: Confirmed compatibility with WooCommerce 9.7
2024 · 11 versions
Improved- Updater version bumped to v2.1.5.
- Stock synchronized on force deletion.
- "Export" tab renamed to "Tools".
- REST API documentation updated.
Fixed- Batch data deleted on order item deletion.
- Plugin translations loaded too early.
- Orders with batches not appearing in the "Consumed" table.
Changes- Translations: updated translation template (POT).
- Tested: Confirmed compatibility with WooCommerce 9.5.
3.2.5
1 fix1 change
Fixed- Resolved issue with batch expiry date not being saved on the product edit page.
Changes- Tested: Compatible with WooCommerce 9.4.
New- new API endpoint to get all the batches
- setting to register batch reduce/restore to order notes
Improved- validate date fields when updating their values in the database
Fixed- duplicate stocks actions on `db_row_save` function
- Purchase Order prices not being calculated
- global sync exceed ActionScheduler character limit
Changes- Translations: updated translation template (POT)
- Marked tested up to WooCommerce 9.3
New- compatibility with ATUM Stock Central
- adds PO fields in Overview add batch form
- advanced setting to update batch stock levels on REST product stock changes
- inventory setting to disable product stock sync
- adds a function to validate product types: `wpo_wcpbn_is_valid_product_type`
- filter `wpo_wcpbn_frontend_product_variations_selector`
Improved- on empty expiry date, re-order batches by "Available Stock"
Fixed- wrong expiry date value when updating a product
- the batch restore bug on refunds
- `on_save_order_items` method type hint
- archive batch routine issues
- double quantity reduction on order creation in backend
Changes- Translations: updated translation template (POT)
- Marked tested up to WooCommerce 9.2
New- adds force delete to Overview list bulk actions
- force batch deletion advanced setting
Improved- rename/move batch tools to be batch edit
- updates `date_created` and `date_expiry` columns structure
- add supplier field back to forms and create PO when is filled
Fixed- settings requiring `data-show_for_option_name` not saving in the first try
- style issue in Overview search
- fatal error on WCSD compatibility
- `wpo_wcpbn_email_headers` deprecated warnings
Changes- Translations: updated translation template (POT)
- Marked tested up to WooCommerce 9.0 & WordPress 6.6
New- Stock Dependencies for WooCommerce compatibility (beta)
- allow editing "Location" from the Overview table
Improved- rename options ATUM tab to Compatibility
- improvements in the updater loading
Fixed- reverts dropping the legacy supplier database column on 3.2.0+ upgrade
Changes- Translations: updated translation template (POT)
- Marked tested up to WooCommerce 8.9
New- ATUM Inventory Logs compatibility
- ATUM Purchase Orders compatibility
- filter hook `wpo_wcpbn_export_csv_get_orders_args`
- adds "Enable product stock management" setting
- arguments added to the `wpo_wcpbn_get_item_batch_formatted_meta` function
- adds a `$context` arg to `wpo_wcpbn_date_format` function
- adds a global product stock sync feature to the Advanced tab
Improved- drops `product_id`, `variation_id` and `supplier` columns from batch DB table
Fixed- attempt to read property `batch_number` on `null`
- restores the supplier column to the product inventory batch table
Changes- Translations: updated translation template (POT)
- Marked tested up to WooCommerce 8.8
New- hook `wpo_wcpbn_after_schedule_batch_expiration_date_offset_email`
- batch reduce/restore support for OpenPOS orders
- function to get order item batch meta data: `wpo_wcpbn_get_item_batch_formatted_meta`
- maybe restore stock on Woo API refund request
- hook `wpo_wcpbn_after_archive_batch`
- adds a `fetch_all` parameter to settings `get_option` method
- adds the purchase order to REST endpoints
Improved- removes legacy batch supplier
Fixed- issues with product stock sync on batch tools and REST API
- passing `null` to parameter `#1` on `substr`
- issue with batch stock not getting restored when changing order status from Cancelled to Processing
- return type declaration of `get_option` method
- duplicated expired batch email
- bug of undefined array key `wc-refunded`
- deprecated warning from `parse_str` on `get_active_tab` method
- PHP warnings
- allows SKU search for more product types
- wrong stock level reduction for batches using a payment gateway (comgate)
Changes- Translations: updated translation template (POT)
- Marked tested up to WooCommerce 8.7 & WordPress 6.5
3.1.4
1 fix
Fixed- validate the input of `is_child_class_allowed` method
New- filter `wpo_wcpbn_rest_auto_set_quantity_available` that prevents `quantity_available` from being auto set
Improved- improves the database implementation and security
Fixed- Undefined variable `$batch_numbers_of_item`
Changes- Translations: updated translation template (POT)
3.1.2
1 improvement1 fix
Improved- replaces the product offset tooltip with explicit text
Changelog published by the developer, in their original language.