feat(shop): Twig-Funktionen für die Shop-Events der Storefront (#9) #49
No reviewers
Labels
No labels
Area/Admin
Area/CI
Area/Tagging
Kind/Bug
Kind/Chore
Kind/Docs
Kind/Feature
Phase/1 Grundgerüst
Phase/2 Grundattribute
Phase/3 Automatische Auszeichnung
Phase/4 Interaktionen
Phase/5 Übergang in den Shop
Phase/6 Release
Priority/High
Priority/Low
Priority/Normal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Sulu-Bundles/wsc_sulubundle_walkeros!49
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/shop-twig-functions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Änderung
Die Sulu-Seite von #9: Twig-Funktionen für die sieben Shop-Events der headless Storefront (
wsc_sulubundle_syliusheadlessruft sie später auf, dieses Bundle kennt es nicht).wsc_elb_product_view(product)product view(product_view)wsc_elb_list_view(name)list view(list_view)wsc_elb_product_click(product, position)product click(product_click)wsc_elb_product_add(product, quantity)product add(cart_add)wsc_elb_product_remove(product, quantity)product remove(cart_remove)wsc_elb_cart_view(cart)+wsc_elb_cart_item(product)cart view(cart_view)wsc_elb_cart_checkout(cart)cart checkout(checkout_begin)data-elb,data-elb-…,data-elbaction).id,name,price,variant,category,quantity,position, Warenkorb:value,currency). Jedes andere Feld wirft, damit keine Personendaten in ein Attribut gelangen."119,90","1.199,90"und Währungszeichen werden abgelehnt. Cent lassen sich nicht erkennen: Das Headless-Bundle rechnet in Cent und muss vor dem Aufruf durch 100 teilen (steht indocs/theme.md).wsc_elb_cart_itemfolgtcart_view.docs/events.md(Status),docs/theme.md(neuer Abschnitt), Testseitedocs/testseite-shop.html.twig.txtauf die neuen Funktionen umgestellt.Prüfung
cs-checkgrün, PHPStan Level 8 grün, 195 Tests grün (neu:ShopEventBuilderTest,ShopEventsExtensionTest)./walkeros-shop, Testprojekt) rendern alle Attribute korrekt, auchT-Shirt\; Biound19.9/49.8.walker.jsund dem Collector (die Events kommen mit den Feldern an, ohne Einwilligung kein Request). Das bleibt Akzeptanzkriterium von #9, das Issue bleibt offen.🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.