Skip to main content
← Back to plugins
Stock Monitoring

Stock Monitoring

Monitor stock levels in your dashboard and get notified when products are almost out of stock

Version2.1.0
Compatibility>=3.0.0
CategoryAdmin tools
Downloads778 monthly
Last updatedFeb 5, 2026

Official documentation here

This plugin helps you monitor the stock levels in two ways:

  1. A dashboard widget that displays variants that have stock level's below their threshold
  2. An event is emitted when a variant's stock level drops below a given threshold after each placed order.

Getting started

  1. Add the plugin to your vendure-config.ts to expose a productVariantsWithLowStock query in the admin API.
Ts

For more configuration options regarding the admin ui, check the docs.

When you start the server and login, you can find stock-levels under the add widgets button.

Caveats

  1. This plugin doesn't use the StockLocationStrategy because of performance reasons. Instead, it fetches the stock level for each variant from the database and calculates its absolute stock based on the stockOnHand and stockAllocated fields.
  2. Stock notifications are only emitted after an order is placed. Manual stock changes via the admin UI will not trigger a notification.
Changelog
  • Upgraded to Vendure 3.5.3
  • Documentation update
  • Updated official documentation URL
  • Added support for per variant thresholds
  • Emitting event when a variant's stock level drops below a given threshold
  • Processing stock checking in worker instead of main process.
  • BREAKING: removed email handler functionality. You can implement your own email handler by listening to the event StockLevelBelowThresholdEvent.
  • Upgrade to Vendure to 3.3.2
  • Prevent error column "stockonhand" does not exist on Postgres
  • Update Vendure to 3.1.1
  • Update compatibility range (#480)
  • Updated Vendure to 2.2.6
  • Show max 100 out of stock items instead of 50
  • Fixed link to products from stock widget
  • Fixed reduceSum function call bug
  • Made StockWidgetComponent standalone and removed StockWidgetSharedModule and StockWidgetModule
  • Fix broken links as described here
  • Updated vendure to 2.1.1