Erkläre bei der Produktseiten-Zuordnung, warum ein Modul oder Lizenzartikel keine eigene Seite bekommt
Die Auswahl nennt je Eintrag, ob der Shop die Seite zeigen kann (Programm mit Anzeigefreigabe), und die Fehlermeldung zur eigenen Paketseite nennt den Weg über Pakete oder ein Programm. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9041afda80
commit
1950dc377b
4 files changed
+51
-5
No files matched your search
@@ -107,7 +107,7 @@ public function activate(Offer $offer, array $lines, array $attributes = []): Of
|
||||
], $attributes);
|
||||
|
||||
if ($offer->standalone_bundle && (count($lines) !== 1 || ! $lines[0]['target'] instanceof BundleVersion)) {
|
||||
throw new DomainRuleException('Ein Angebot mit eigener Paketseite besteht aus genau einer Paketfassung. Wähle eine Paketfassung oder ordne das Angebot der Seite eines Programms zu.');
|
||||
throw new DomainRuleException('Ein Angebot mit eigener Paketseite besteht aus genau einer Paketfassung (Katalog → Pakete). Für einen Lizenzartikel ordnest du das Angebot der Seite eines Programms zu: Das Programm muss als Programm angelegt und zur Anzeige freigegeben sein, ein Modul genügt nicht.');
|
||||
}
|
||||
|
||||
$this->assertAttributes($attributes);
|
||||
|
||||
Reference in new issue
Block a user