Skip to content

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:

yaml
# <project root>/config/packages/shopware.yaml
shopware:
  stock:
    enable_stock_management: false

For more detailed implementation refer to Stock guide section.

Was this page helpful?
UnsatisfiedSatisfied
Be the first to vote!
0.0 / 5  (0 votes)