- Implement OfferOptionAdminTest to validate offer option management, including price display, activation, and cancellation. - Create OrganizationPurchaseTest to ensure correct handling of organization purchases, including access control and order processing. - Add ShopProductPageTest to verify shop product listings, search functionality, and product page details. - Introduce BuildsShop trait for seeding test data related to shop functionality. - Implement MoneyTest to validate money parsing and formatting, ensuring correct handling of euro amounts.
54 lines
1.8 KiB
PHP
54 lines
1.8 KiB
PHP
<?php
|
|
|
|
use App\Domain\Cms\Widgets\Types\CallToActionWidget;
|
|
use App\Domain\Cms\Widgets\Types\CardsWidget;
|
|
use App\Domain\Cms\Widgets\Types\CatalogCardsWidget;
|
|
use App\Domain\Cms\Widgets\Types\FaqWidget;
|
|
use App\Domain\Cms\Widgets\Types\HeadingWidget;
|
|
use App\Domain\Cms\Widgets\Types\HeroWidget;
|
|
use App\Domain\Cms\Widgets\Types\ImageTextWidget;
|
|
use App\Domain\Cms\Widgets\Types\MediaCardWidget;
|
|
use App\Domain\Cms\Widgets\Types\ProgramCardWidget;
|
|
use App\Domain\Cms\Widgets\Types\ProseWidget;
|
|
use App\Domain\Cms\Widgets\Types\TopicCardWidget;
|
|
|
|
return [
|
|
|
|
/*
|
|
| Registrierte Widget-Arten (ADR-30). Die Reihenfolge bestimmt die Reihenfolge in der Widget-Auswahl.
|
|
| Eine neue Art: Klasse unter App\Domain\Cms\Widgets\Types anlegen, Ansicht unter
|
|
| resources/views/widgets/<kennung>.blade.php, hier eintragen. Siehe docs/architektur/cms-widget-registry.md.
|
|
| Eine einmal verwendete Kennung wird nie entfernt, solange Revisionen sie enthalten.
|
|
*/
|
|
'widgets' => [
|
|
HeroWidget::class,
|
|
HeadingWidget::class,
|
|
ProseWidget::class,
|
|
ImageTextWidget::class,
|
|
CardsWidget::class,
|
|
CatalogCardsWidget::class,
|
|
TopicCardWidget::class,
|
|
MediaCardWidget::class,
|
|
ProgramCardWidget::class,
|
|
CallToActionWidget::class,
|
|
FaqWidget::class,
|
|
],
|
|
|
|
/*
|
|
| Seitenvorlagen. Für diesen Ausbau gibt es eine Vorlage; weitere werden hier ergänzt.
|
|
*/
|
|
'templates' => [
|
|
'standard' => 'site.templates.standard',
|
|
],
|
|
|
|
/*
|
|
| Früher vorbereiteter Warenkorbzugang. Seit Etappe 1 folgt der Eintrag in der Kopfzeile dem Shop
|
|
| (App\Domain\Commerce\Shop::enabled: Testzahlung, nie in Produktion). Diese Werte werden nicht mehr gelesen.
|
|
*/
|
|
'cart' => [
|
|
'enabled' => (bool) env('LUF_CART_ENABLED', false),
|
|
'url' => env('LUF_CART_URL'),
|
|
],
|
|
|
|
];
|