PHPackages                             ampersand/magento2-disable-stock-reservation - 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. ampersand/magento2-disable-stock-reservation

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

ampersand/magento2-disable-stock-reservation
============================================

This module disables the inventory reservation logic introduced as part of MSI in Magento 2.3.3

1.3.4(3mo ago)2311.4M—2.1%64[13 issues](https://github.com/idhlagency/magento2-disable-stock-reservation/issues)[6 PRs](https://github.com/idhlagency/magento2-disable-stock-reservation/pulls)PHPPHP ^7.1|^8.0

Since Nov 6Pushed 3mo ago17 watchersCompare

[ Source](https://github.com/idhlagency/magento2-disable-stock-reservation)[ Packagist](https://packagist.org/packages/ampersand/magento2-disable-stock-reservation)[ RSS](/packages/ampersand-magento2-disable-stock-reservation/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (10)Versions (44)Used By (0)

AmpersandHQ/magento2-disable-stock-reservation
==============================================

[](#ampersandhqmagento2-disable-stock-reservation)

[![Build Status](https://camo.githubusercontent.com/808bf6032a70b5dfcec6fcc84e8e3ce09a69102a17a0c643cfcae644ed2090d3/68747470733a2f2f6170702e7472617669732d63692e636f6d2f416d70657273616e6448512f6d6167656e746f322d64697361626c652d73746f636b2d7265736572766174696f6e2e7376673f6272616e63683d6d6173746572)](https://app.travis-ci.com/AmpersandHQ/magento2-disable-stock-reservation)

This module disables the inventory reservation logic introduced as part of MSI in Magento 2.3.3 - see [magento/inventory#2269](https://github.com/magento/inventory/issues/2269) for more information about the way MSI was implemented, and the issues that can happen with external WMS integrations.

The Problem
-----------

[](#the-problem)

During the order placement and fulfilment processes, Magento's MSI implementation will not decrement stock on order placement - it will only do so on order shipment and refund.

Our Approach
------------

[](#our-approach)

This module will:

- Prevent all writes to the `inventory_reservation` table. It does so by using an `around` plugin on `PlaceReservationsForSalesEventInterface`
- Trigger stock deductions on order placement. See `inventory_sales_source_deduction_processor` plugin on `Magento\Sales\Model\Service\OrderService`.
- Prevent stock deductions on order shipment. See disabled `inventory_sales_source_deduction_processor` observer on `sales_order_shipment_save_after` event.
- Replenish stock for cancelled order items. See `inventory` observer on `sales_order_item_cancel` event.
- Replenish stock when a credit memo is issued. See `src/Observer/RestoreSourceItemQuantityOnRefundObserver.php`
    - Requires that "Back to stock" is checked or "Automatically Return Credit Memo Item to Stock" is configured
        -
- Truncate (ie, remove all historic entries from) the `inventory_reservation` table upon installation.

Additional Notes
----------------

[](#additional-notes)

- Both the `inventory` and `cataloginventory_stock` should be on the same mode (`Update on Save` or `Schedule`) for this module to work as expected. If you are running this on `Schedule` you should have crons activated.

###  Health Score

64

—

FairBetter than 99% of packages

Maintenance77

Regular maintenance activity

Popularity59

Moderate usage in the ecosystem

Community29

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 52.1% 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 ~61 days

Recently: every ~207 days

Total

38

Last Release

117d ago

PHP version history (2 changes)1.0.0PHP ^7.1

1.1.3PHP ^7.1|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/aa904d0f61196b12bd6727175110ad7a58e19d888960279e7e4b9dbb636f34b9?d=identicon)[convenient](/maintainers/convenient)

![](https://www.gravatar.com/avatar/248c125feb1acc5c8932c06226dcd5086760736ff5fc9ec69be32a3aeae8a339?d=identicon)[chickenland](/maintainers/chickenland)

---

Top Contributors

[![convenient](https://avatars.githubusercontent.com/u/600190?v=4)](https://github.com/convenient "convenient (150 commits)")[![ahasAmp](https://avatars.githubusercontent.com/u/43336207?v=4)](https://github.com/ahasAmp "ahasAmp (74 commits)")[![peekarboo](https://avatars.githubusercontent.com/u/39334796?v=4)](https://github.com/peekarboo "peekarboo (22 commits)")[![qrz-io](https://avatars.githubusercontent.com/u/3646206?v=4)](https://github.com/qrz-io "qrz-io (11 commits)")[![tr33m4n](https://avatars.githubusercontent.com/u/1771667?v=4)](https://github.com/tr33m4n "tr33m4n (7 commits)")[![gianstraf](https://avatars.githubusercontent.com/u/16322192?v=4)](https://github.com/gianstraf "gianstraf (5 commits)")[![adrian-martinez-interactiv4](https://avatars.githubusercontent.com/u/17545750?v=4)](https://github.com/adrian-martinez-interactiv4 "adrian-martinez-interactiv4 (3 commits)")[![AliyaAussie](https://avatars.githubusercontent.com/u/32060448?v=4)](https://github.com/AliyaAussie "AliyaAussie (3 commits)")[![markfischmann](https://avatars.githubusercontent.com/u/51861943?v=4)](https://github.com/markfischmann "markfischmann (2 commits)")[![kernstmediarox](https://avatars.githubusercontent.com/u/48212645?v=4)](https://github.com/kernstmediarox "kernstmediarox (2 commits)")[![cvdberg1](https://avatars.githubusercontent.com/u/90610066?v=4)](https://github.com/cvdberg1 "cvdberg1 (2 commits)")[![robsoned](https://avatars.githubusercontent.com/u/18008565?v=4)](https://github.com/robsoned "robsoned (2 commits)")[![schmengler](https://avatars.githubusercontent.com/u/367320?v=4)](https://github.com/schmengler "schmengler (1 commits)")[![barryvdh](https://avatars.githubusercontent.com/u/973269?v=4)](https://github.com/barryvdh "barryvdh (1 commits)")[![IbrahimS2](https://avatars.githubusercontent.com/u/19901858?v=4)](https://github.com/IbrahimS2 "IbrahimS2 (1 commits)")[![fredden](https://avatars.githubusercontent.com/u/334786?v=4)](https://github.com/fredden "fredden (1 commits)")[![DanieliMi](https://avatars.githubusercontent.com/u/31039652?v=4)](https://github.com/DanieliMi "DanieliMi (1 commits)")

###  Code Quality

TestsCodeception

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/ampersand-magento2-disable-stock-reservation/health.svg)

```
[![Health](https://phpackages.com/badges/ampersand-magento2-disable-stock-reservation/health.svg)](https://phpackages.com/packages/ampersand-magento2-disable-stock-reservation)
```

###  Alternatives

[yireo/magento2-webp2

Magento 2 module to add WebP support to the Magento frontend

2091.2M7](/packages/yireo-magento2-webp2)[tig/postnl-magento2

TIG Magento 2 PostNL extension

58544.2k4](/packages/tig-postnl-magento2)[lillik/magento2-price-decimal

Magento 2 Price Decimal Precision

111147.5k](/packages/lillik-magento2-price-decimal)[nosto/module-nostotagging

Increase your conversion rate and average order value by delivering your customers personalized product recommendations throughout their shopping journey.

27659.1k4](/packages/nosto-module-nostotagging)[magepal/magento2-customeraccountlinksmanager

Customer Account Links Manager for Magento2 allows you to quickly and easily remove unwanted links from customer account dashboard

4084.9k](/packages/magepal-magento2-customeraccountlinksmanager)[doofinder/doofinder-magento2

Doofinder module for Magento 2

13204.0k1](/packages/doofinder-doofinder-magento2)

PHPackages © 2026

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