PHPackages                             thelia/stock-on-order-module - 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. thelia/stock-on-order-module

ActiveThelia-module

thelia/stock-on-order-module
============================

2.0.1(3y ago)253LGPL-3.0+PHP

Since Aug 28Pushed 3y ago6 watchersCompare

[ Source](https://github.com/thelia-modules/StockOnOrder)[ Packagist](https://packagist.org/packages/thelia/stock-on-order-module)[ RSS](/packages/thelia-stock-on-order-module/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (6)Used By (0)

StockOnOrder
============

[](#stockonorder)

Configure, for each payment module, how product's stock is managed when an order is created or when an order status is updated.

Installation
------------

[](#installation)

### Manually

[](#manually)

- Copy the module into `/local/modules/` directory and be sure that the name of the module is StockOnOrder.
- Activate it in your thelia administration panel

### Composer

[](#composer)

Add it in your main thelia composer.json file

```
composer require thelia/stock-on-order-module:~1.0

```

Usage
-----

[](#usage)

Once activated, click on the "Configure" button of the module. The payment module list appears:

- the module tells you if the stock behavior when updating an order status is modified or is still the default Thelia behavior
- you can choose if the stock has to be decreased at the creation of an order
- you can click a module name or the corresponding "Edit" button to configure stock behavior when an order status is changed

Editing a payment module behavior shows you the list of order status. For each status, you can say what has to be done on stocks when you set it to an order:

- do nothing on the stock of products of the order
- decrease stock
- increase stock (when an order is cancelled for example)
- let Thelia default behavior

**IMPORTANT THINGS YOU REALLY HAVE TO READ**

- if you choose to decrease stocks on order creation, be sure to configure behavior when updating an order status to avoid double decrease of your stock by Thelia default behavior
- when configuring actions on stock on order status update, don't mix your configuration and Thelia default behavior unless you know what you do.

Hook
----

[](#hook)

The only hook used is the `module.configuration` one to let you configure the module.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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.

###  Release Activity

Cadence

Every ~883 days

Total

4

Last Release

1267d ago

Major Versions

1.1 → 2.0.02022-10-26

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2196919?v=4)[thelia](/maintainers/thelia)[@thelia](https://github.com/thelia)

---

Top Contributors

[![gillesbourgeat](https://avatars.githubusercontent.com/u/7335734?v=4)](https://github.com/gillesbourgeat "gillesbourgeat (1 commits)")[![InformatiqueProg](https://avatars.githubusercontent.com/u/7933327?v=4)](https://github.com/InformatiqueProg "InformatiqueProg (1 commits)")

### Embed Badge

![Health badge](/badges/thelia-stock-on-order-module/health.svg)

```
[![Health](https://phpackages.com/badges/thelia-stock-on-order-module/health.svg)](https://phpackages.com/packages/thelia-stock-on-order-module)
```

PHPackages © 2026

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