📊 State of Magento 2025

The Home for Magento 2 Excellence

Quality-tested Magento 2 modules. Explore. Evaluate. Elevate. #magento2

613 Modules
401 Ready
211 Need Help
🏆 Leaderboard
Top 10% by Downloads Actively Maintained v1.3.4

AmpersandHQ Magento2 Disable Stock Reservation

ampersand/magento2-disable-stock-reservation

Disables Magento's inventory reservation system, preventing writes to the inventory_reservation table. Deducts stock on order placement instead of shipment, and replenishes stock on order cancellation or credit memo.

1,318,529
Downloads
6x above avg
227
GitHub Stars
6x above avg
21d ago
Last Release
19
Open Issues
Build Passing
Ready to install

Build Tests

Composer Install
DI Compile
Templates

Code Quality

CS Coding Standard
2 errors , 164 warnings
PHPStan Failed

Tested on Magento 2.4.8-p3

Recent Test History

Each release is tested against the latest Magento version at that time.

v1.3.4 on Magento 2.4.8-p3
Jan 21, 2026
v1.3.3 on Magento 2.4.8-p3
Dec 30, 2025

Share This Module's Status

AmpersandHQ Magento2 Disable Stock Reservation Magento compatibility status badge

README

Loaded from GitHub

AmpersandHQ/magento2-disable-stock-reservation

Build Status

This module disables the inventory reservation logic introduced as part of MSI in Magento 2.3.3 - see 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

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

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
      • https://docs.magento.com/user-guide/configuration/catalog/inventory.html#product-stock-options
  • Truncate (ie, remove all historic entries from) the inventory_reservation table upon installation.

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.

This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.