semaio/shopware-plugin-stock-updater-fix

Fix StockUpdater to be independent from order status.

Installs: 712

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:shopware-platform-plugin

1.0.0 2023-06-07 11:32 UTC

This package is auto-updated.

Last update: 2024-11-07 14:30:26 UTC


README

Issue: https://issues.shopware.com/issues/NEXT-12479

By default, Shopware ties the "available stock" field on product level to the status of the order. If a client uses an external system for managing stock (e.g. ERP, inventory management system, ..), it can happen that the available stock will be reduced twice.

This plugin replaces the default "StockUpdater" and removes all ties to the order status.

Important: We've tested it only on Shopware 6.4 and for the use cases of our clients. Please test thoroughly before deploying it to production.

Installation

The recommended way is using composer:

$ composer require semaio/shopware-plugin-stock-updater-fix

Support

If you encounter any problems or bugs, please create an issue on GitHub.

Contribution

Any contribution to the development of shopware-plugin-stock-updater-fix is highly welcome. The best possibility to provide any code is to open a pull request on GitHub.

License

MIT License. See the LICENSE.txt file for more details.