diff --git a/guides/hosting/installation-updates/extension-managment.md b/guides/hosting/installation-updates/extension-managment.md index 8b481f8d9..b0e52a123 100644 --- a/guides/hosting/installation-updates/extension-managment.md +++ b/guides/hosting/installation-updates/extension-managment.md @@ -46,6 +46,12 @@ Now you can install extensions with Composer: composer require store.shopware.com/{extension-name} ``` +This downloads and extracts the extension package into the `vendor` directory. To install and activate the extension in Shopware, execute the following console command: + +```bash +bin/console plugin:install --activate +``` + You can also find the Composer package name when you click "Install via Composer" in the Shopware Account. ## Migrating already installed extensions to Composer diff --git a/guides/plugins/plugins/framework/data-handling/add-data-indexer.md b/guides/plugins/plugins/framework/data-handling/add-data-indexer.md index 7ff03c407..bd53d3936 100644 --- a/guides/plugins/plugins/framework/data-handling/add-data-indexer.md +++ b/guides/plugins/plugins/framework/data-handling/add-data-indexer.md @@ -10,7 +10,7 @@ This guide is built upon the [Plugin base guide](../../plugin-base-guide), but a ## Adding an own data indexer -It is possible to add data indexer for your own entities, like the one created in the [Adding custom complex data](./add-custom-complex-data) guide or for existing entities. However, if you want to react on changes of existing entities the preferred way should be subscribing to the events if available. See the [Index data using existing events](Index data using existing events) section below. To create a new indexer, just create a new class in your plugin: +It is possible to add data indexer for your own entities, like the one created in the [Adding custom complex data](./add-custom-complex-data) guide or for existing entities. However, if you want to react on changes of existing entities the preferred way should be subscribing to the events if available. See the [Index data using existing events](#index-data-using-existing-events) section below. To create a new indexer, just create a new class in your plugin: ```php // /src/Core/Framework/DataAbstractionLayer/Indexing/ExampleIndexer.php