PHPackages                             wisamx/commerce\_simple\_stock - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. wisamx/commerce\_simple\_stock

ActiveProject[Utility &amp; Helpers](/categories/utility)

wisamx/commerce\_simple\_stock
==============================

Adds a commerce stock management feature.

22925[1 issues](https://github.com/wisamx/commerce_simple_stock/issues)[2 PRs](https://github.com/wisamx/commerce_simple_stock/pulls)PHP

Since Nov 6Pushed 7y ago3 watchersCompare

[ Source](https://github.com/wisamx/commerce_simple_stock)[ Packagist](https://packagist.org/packages/wisamx/commerce_simple_stock)[ RSS](/packages/wisamx-commerce-simple-stock/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Commerce Simple Stock
=====================

[](#commerce-simple-stock)

The module implements a simple stock management for Drupal 8 Commerce 2.

Usage:

- Add a field\_stock to the variant type.
- You can add a view for showing Product Variants each with its stock value

Features:

- Hide the add to cart form when stock is 0 and show "Out of stock".
- Prevent adding the product to cart when its not available.
- Prevent checking out order items when its not available.
- Decrease product variant stock when an order is placed.
- Update product variant stock when an order item is updated/deleted.
- Provide an Inventory Control page for Bulk Stock updates.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 87% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9ab6aef28cf274e4d730e90b3a0819eb296827f4807935eae12623b4e1994f59?d=identicon)[benedikt-buchert](/maintainers/benedikt-buchert)

---

Top Contributors

[![wisamx](https://avatars.githubusercontent.com/u/1258782?v=4)](https://github.com/wisamx "wisamx (20 commits)")[![NelsNose](https://avatars.githubusercontent.com/u/649385?v=4)](https://github.com/NelsNose "NelsNose (2 commits)")[![jamiehollern](https://avatars.githubusercontent.com/u/1324279?v=4)](https://github.com/jamiehollern "jamiehollern (1 commits)")

### Embed Badge

![Health badge](/badges/wisamx-commerce-simple-stock/health.svg)

```
[![Health](https://phpackages.com/badges/wisamx-commerce-simple-stock/health.svg)](https://phpackages.com/packages/wisamx-commerce-simple-stock)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
