> For the complete documentation index, see [llms.txt](https://docs-sw6.zenit.design/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-sw6.zenit.design/bugs/vererbung-plugin-konfiguration.md).

# Vererbung Plugin-Konfiguration

## Problembeschreibung

{% embed url="<https://issues.shopware.com/issues/NEXT-12587>" %}

In der Plugin-Konfiguration gibt es häufig **Schalter (1)** zum Aktivieren oder Deaktivieren einer Funktion - sogenannte Bool / Switch. Ist dieser im **Verkaufskanal (2)** `Alle Verkaufskanäle` aktiv, besteht das Problem, dass abweichende Einstellungen in einem anderen Verkaufskanal diese default-true Einstellung nicht mehr überschreiben können.

![Der Switch ist "default-true"](https://991427193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MJBQKw7hkRMdG_XaEID%2F-MSm3c1CuESIG1BfQAkS%2F-MSm5m1zHYiM6WkY5IxZ%2Fplugin-configuration-bool-inheritance-bug.png?alt=media\&token=dd7215ff-968d-499c-963f-fe33b0e9cc8f)

Wird nun ein **anderer Verkaufskanal (2)** gewählt kann der **Schalter (1)** auf inaktiv gestellt werden. Die Einstellung ist nach aktuellen Stand jedoch nicht in der Lage die default-true Einstellung aus `Alle Verkaufskanäle` zu überschreiben.

![](https://991427193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MJBQKw7hkRMdG_XaEID%2F-MSm3c1CuESIG1BfQAkS%2F-MSm6XVSchrpN7Sgg-n-%2Fplugin-configuration-bool-inheritance-bug-sales-channel.png?alt=media\&token=2b55a522-335b-4409-976e-6dbd5a2a6c0c)

## Lösungsvorschlag

Einstellung für `Alle Verkaufskanäle` auf des Schalters auf  **inaktiv** (bool = false) setzen und die Verkaufskanäle einzeln auf aktiv (bool = true) setzen.
