Product Batch & Expiry Tracking for WooCommerce

Description

Track your WooCommerce products by batch number and expiry date — right from the product edit page.

Webis Batch & Expiration Tracking for WooCommerce gives store owners a simple, built-in way to split product inventory into batches, assign expiry dates, and monitor what’s expiring soon — without leaving your existing workflow.

Who Is This For?

Store owners selling perishable or regulated goods — food, cosmetics, supplements, beverages, medicine — who need to track inventory by batch or expiry date before committing to a paid solution.

Free Features

  • Batch & Expiry Tracking — Add batch entries directly on the product edit page (Inventory tab). Each entry stores batch number, batch date, quantity, and supplier.
  • Variable Product Support — Track batches independently per variation.
  • Expiry Report Dashboard — See all products with upcoming expiry dates, color-coded by urgency.
  • Batch Report Dashboard — Browse all batch records sorted by batch date.
  • Order Batch Search — Search WooCommerce orders by batch number, including HPOS support.
  • Expiry Date Display — Optionally show the expiry date on the product page for customers, with configurable date format and lead time.

How to Set It Up

  1. Install and activate the plugin.
  2. Go to any product edit page Inventory tab enable “Enable Expiry & Batch Tracking”.
  3. Fill in the batch table with your batch entries.
  4. Use the Batch & Expiration Dashboard (under Products menu) to monitor stock.

Use Case Example

You have 100 bags of coffee: 40 units expire in 30 days, the other 60 expire next year. Enter two batch entries with different quantities and expiry dates. The Expiry Report immediately flags the 40 at-risk units so you can plan promotions in time.

Why We Built This

We needed a straightforward way to track perishable inventory in our own WooCommerce store. Existing plugins were either too complex, incomplete, or no longer maintained. So we built our own — and made it available to the community.

Upgrade to Pro

The free version covers core batch and expiry tracking. Upgrade to Pro to unlock:

  • FIFO & nearest-expiry stock reduction
  • Auto-move expiring products to a Clearance category
  • Email alerts when products are expiring soon
  • Batch recall lookup — find every order by batch number
  • Show batch numbers on customer order & invoice emails

Source Code

Minified files ship alongside their unminified counterparts in the plugin package:

  • assets/js/admin-product.min.js — unminified source: assets/js/admin-product.js
  • assets/js/frontend.min.js — unminified source: assets/js/frontend.js

Build tools: none (plain JavaScript, minified with a standard JS minifier).

Screenshots

Installation

  1. Upload the entire ‘webis-batch-expiration-tracking-for-woocommerce’ folder to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

Does this plugin support variable products?

Yes. Batch numbers and expiry dates can be tracked independently for each variation of a variable product.

What information can I track per batch?

You can track batch number, expiry date, batch date, and supplier for each product or variation.

Where can I view expiring products?

The Expiry Report dashboard (under Products Batch & Expiration by Webis) shows all products with expiry dates, color-coded by how soon they expire.

Can I search orders by batch number?

Yes. The plugin adds batch number search support to the WooCommerce Orders page, including HPOS (High-Performance Order Storage).

Can customers see the expiry date on the product page?

Yes. You can enable this in Settings, and optionally configure the date format and how many days in advance to show the notice.

Does this plugin work alongside the Pro version?

No. If the Pro version is active, the Free version will automatically deactivate itself to avoid conflicts.

Is WooCommerce required?

Yes, WooCommerce must be installed and active.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Product Batch & Expiry Tracking for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.0

  • Initial release of the free version