Stock Configuration
When running Shopware 6 there are various configuration options you can use to customize your installation. These configurations reside in the general bundle configuration.
Stock management system
The stock management system manages stock levels automatically when orders are placed, cancelled, or completed. The product.stock field is the primary source for real-time product stock values.
The stock management system is enabled by default. No additional configuration is required.
Disable stock management system
You can completely disable Shopware's default stock management system. When disabled, the product.stock field will not be updated automatically when orders are placed or completed.
To disable, set shopware.stock.enable_stock_management to false:
# <project root>/config/packages/shopware.yaml
shopware:
stock:
enable_stock_management: falseFor more detailed implementation refer to Stock guide section.