Laqi Unit Stock Manager for WooCommerce
Manage one bulk stock quantity shared by simple products and variations sold in different package sizes.
Install in
Laqi Unit Stock Manager gives WooCommerce stores one authoritative quantity for products packaged from the same physical stock.
For example, keep 10 kg of an ingredient in one inventory pool and link 250 mg, 0.2 g, 1 g, 50 g, 500 g, and 2 kg packages to it. Enter each package in whatever unit suits it, whole or decimal, and the mapping converts it into the pool’s unit for you. Every sale then draws that exact quantity from the shared pool. Quantities are held as whole numbers rather than floating-point values, so milligram packages sharing a balance with kilogram ones never accumulate rounding drift.
Shared inventory without package-level guesswork
- Create inventory pools measured by mass, volume, length, or count.
- Link any number of simple products and individual variations to the same pool.
- Give every linked item its exact per-sale consumption quantity.
- See current stock, sellable quantity, linked packages, and mapping diagnostics together.
- Search by pool, internal SKU, product, variation, or product SKU.
- Filter the native Products list by linked, unlinked, incomplete, warning, or recipe-backed status.
Exact units
- Use clearly separated metric, US customary, and imperial units.
- Convert compatible units while configuring a mapping, such as grams consumed from a kilogram pool.
- Define exact store-specific units, such as one sack equal to 25 kg or one tray equal to 24 units.
- Retire unused custom units without invalidating historical stock records.
Safe WooCommerce stock handling
- Aggregate the complete cart before checking a shared pool, so individually valid lines cannot oversell it together.
- Validate classic checkout and the Store API used by Cart and Checkout Blocks.
- Reduce pooled stock once when WooCommerce reduces an order’s stock.
- Restore the exact original quantity for cancellations, refunds, and restocks.
- Reconcile admin-created orders, quantity edits, added lines, and removed lines.
- Preserve the mapping version and pool demand used at purchase, even when the product is reconfigured later.
- Synchronize WooCommerce stock status from the limiting shared pool.
One operational workspace
Products > Unit Stock keeps cross-product inventory work under one menu item. Product-specific configuration stays with the product: simple products use their Unit Stock Product data panel, while each variation has Unit Stock controls inside its native variation panel.
- Stock shows current balances, linked packages, sellable quantities, diagnostics, and inline adjustments.
- Setup creates pools and custom units and provides a searchable directory of active product links.
- Activity provides a paginated append-only ledger for orders, refunds, restorations, migrations, edits, and manual adjustments.
- The WooCommerce order screen explains each pooled-stock movement and the mapping and quantity that produced it.
Laqi Unit Stock Manager Pro
Pro is a separate add-on installed alongside this plugin rather than a replacement for it. It adds:
- Suppliers, purchasing packs, receiving, and incoming deliveries.
- Traceable batches with FEFO or explicit dispatch priority, holds, quarantine, recalls, and recorded losses.
- Alerts, forecasting, reorder planning, purchase-order drafts, and transmission to suppliers.
- Reports, scenario planning, recipes and material costs, mobile stocktaking, integrations, and a searchable exportable ledger.
The free plugin remains the authoritative inventory engine and is fully functional without an account or licence.
Compare editions at laqi-logistics.com.
Privacy and external services
The plugin stores inventory pools, product mappings, operational order references, and stock movements in your WordPress database. Manual adjustments record the acting WordPress user ID for accountability. The WordPress privacy exporter reports those attributed movements, and erasure anonymizes the user association while retaining the inventory ledger.
The plugin does not copy customer contact, address, or payment data into its own tables. It does not contact Laqi Logistics, require an account or licence, or send data to an external service.
Written by Joobi from the project's own listing. See the source page
1.3.3
- Tweak – Verified compatibility with WordPress 7.1.4 and WooCommerce 11.3.0 on PHP 7.4.33 and PHP 8.6.0.
- Fix – Preserve existing whitespace handling on PHP 8.6.
- Dev – Rename REST constants deprecated in PHP 8.6.
1.3.2
- Tweak – Verified compatibility with WooCommerce 11.3.0 on WordPress 7.1.4 and PHP 7.4.33.
1.3.1
- Tweak – Verified compatibility with WordPress 7.1.4 and WooCommerce 11.2.2 on PHP 7.4.33.
1.3.0
- Fix – Orders without pooled-stock movements display “No stock movements” instead of a misleading Reduced or Restored label, including existing orders.
- Fix – Cancelling a fully restocked order no longer attempts an empty stock movement.
- Dev – Extension API 1.3 adds shared stock-demand expansion hooks for Pro integrations.
1.2.6
- Tweak – Verified compatibility with WordPress 7.1.2 and WooCommerce 11.1.2 on PHP 7.4.33 and PHP 8.5.11.
- Add – Get PRO link on the Installed Plugins screen opens the product overview, where you can view Pro features and pricing. The link is hidden while the Pro add-on is active.
1.2.5
- Tweak – Declare compatibility with WooCommerce 11.1 after testing on WordPress 7.1 and PHP 7.4.33.
1.2.4
- The download no longer includes CONTRIBUTING.md, SECURITY.md or eslint.config.cjs, which are project files with no use inside a plugin.
1.2.3
- Linking a product to a pool is now called a link everywhere, instead of a link in some places and a mapping in others.
- Reworded the note under the product linking form to say what it means: pool and unit names are for your own bookkeeping, and no quantity is ever read from a name.
1.2.2
- Added a link to the documentation walkthrough beside the Unit Stock heading, so setting up a pool and mapping packages to it is one click away from every screen in the section.
1.2.1
- Changed the Activity ledger’s two free-text boxes into one search box, since the Search box already covered everything the Reason box did.
- Changed the search filter to start its own row, so every filter bar reads the same way.
- Fixed search filters cutting their placeholder text off mid-word; a search filter now fills the space its row has left over.
1.2.0
- Added an Actor column to the Activity ledger, so you can see who made each change, and a search box matching pool, movement, source, reason, or actor.
- Changed the Source column to stop showing the acting user’s name. Source now answers what caused a movement and Actor answers who performed it.
- Added extension API 1.2, letting an add-on render actions beside the Activity filter bar.
1.1.0
- Added filters to the Activity ledger: inventory pool, movement, source, actor, date range, and recorded reason. Page links keep the filters, and the empty state names the ones hiding your rows.
- Added shared dataset components so Free and registered add-on tabs paginate and filter growing tables the same way.
- Added extension API 1.1: pool policies can be counted and paged by namespace, and movement reads accept categorical filters.
- Changed movement reads to run through one filtered query rather than three near-identical pairs.
- Fixed filtering the Activity ledger losing the product it was scoped to and silently widening to every pool.
- Added an extension API check for whether one pool owns a policy namespace.
- Changed how pools owning an extension policy are found, from decoding every stored policy in PHP to a keyed index. Existing policies are indexed automatically on upgrade.
1.0.3
- Declared compatibility with WordPress 7.1.
- Broadened the shared-pool example so it spans milligram to kilogram packages and decimal quantities, rather than whole grams alone.
1.0.2
- Fixed the “WooCommerce is required” and “two editions are active” notices rendering on every wp-admin page. They now appear only on the Plugins screen, where you can act on them, and are dismissible.
1.0.1
- Improved the plugin description shown on the Plugins screen.
1.0.0
- Initial WordPress.org release of the complete Free shared-stock engine.
- Added exact inventory pools shared by simple products and individual variations, with mass, volume, length, count, and custom merchant units.
- Added combined-cart availability checks, immutable order-item mapping snapshots, idempotent stock reductions and restorations, and safe reconciliation of admin order edits.
- Added product and variation mapping controls in their native WooCommerce editors, mapping coverage on the Products list, stock diagnostics, and synchronized stock status.
- Added searchable pool management, inline stock corrections, existing-stock migration choices, custom-unit conversion and retirement, and paginated product-link and activity views.
- Added order-level stock audit details, privacy export and erasure support, uninstall cleanup, versioned REST endpoints, HPOS compatibility, and Cart and Checkout Blocks support.
Follow this listing's changes (Atom feed)