Skip to content

Commit

Permalink
Merge branch 'main' into next-6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
bojanrajh committed Jan 30, 2024
2 parents e280f07 + 093bfb3 commit f0940f5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions guides/hosting/installation-updates/extension-managment.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <extension-name>
```

You can also find the Composer package name when you click "Install via Composer" in the Shopware Account.

## Migrating already installed extensions to Composer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
// <plugin root>/src/Core/Framework/DataAbstractionLayer/Indexing/ExampleIndexer.php
Expand Down

0 comments on commit f0940f5

Please sign in to comment.