diff --git a/products/plugins/commercial/index.md b/products/plugins/commercial/index.md index 11b2d54b3..71a03bcd9 100644 --- a/products/plugins/commercial/index.md +++ b/products/plugins/commercial/index.md @@ -22,3 +22,35 @@ This plugin contains various features, which are covered in our docs as well. ::: warning In accordance with a Shopware merchant's active account configuration, features within the plugin will be in *active* or *inactive* (whilst still being installed within the Shopware codebase). Pay close attention to any install information or special conditions for the provided features. ::: + +## Licensing + +On installation, the commercial plugin tries to fetch the license key using the logged-in Shopware Account. If this can't be fetched, the plugin can be installed, but all features are deactivated. If you log into your Shopware Account, you can fetch the license key again using `bin/console commercial:license:update`. + +For further debugging you can run the command: + +```bash +bin/console commercial:license:info +``` + +which will show the current license key, whether it is set, and when it expires. + +## Disable Features + +::: info +This Feature is available since 6.6.10.0 +::: + +The commercial plugin consists of multiple features. Since you may not need all the Features included with the plugin, you can specify with the `SHOPWARE_COMMERCIAL_ENABLED_BUNDLES` environment variable all commercial bundles you want to be enabled. + +Example environment variable: + +```text +SHOPWARE_COMMERCIAL_ENABLED_BUNDLES=CustomPricing,Subscription +``` + +You can find all bundle names using this command: + +```bash +./bin/console debug:container --parameter kernel.bundles --format=json +```