feat(surcharge): add per-type icon shown in cart, checkout and order overview #2

Merged
csaeum merged 1 commit from feature/surcharge-type-icon into main 2026-07-17 10:55:40 +00:00
Owner

Zeigt pro Zuschlagstyp ein passendes Icon im Warenkorb, Checkout und in der Bestellübersicht an.

Verifiziert im DDEV.

Zeigt pro Zuschlagstyp ein passendes Icon im Warenkorb, Checkout und in der Bestellübersicht an. Verifiziert im DDEV.
feat(surcharge): add per-type icon shown in cart, checkout and order overview
All checks were successful
CI / cs-check (push) Successful in 22s
CI / phpstan (push) Successful in 25s
CI / build-zip (push) Has been skipped
2f7484396d
Adds an optional media-library icon per surcharge type (icon_media_id FK to
media), settable via sw-media-upload-v2 on the type detail page. The icon is
passed through SurchargeService/SurchargeCartProcessor to
SurchargeLineItemFactory, which sets it via LineItem::setCover(). Shopware
core carries the cover through to the order automatically, so it renders in
cart, offcanvas, checkout confirmation and order overview without any
storefront template override (closes #1).
csaeum merged commit b93e7e09fc into main 2026-07-17 10:55:40 +00:00
csaeum deleted branch feature/surcharge-type-icon 2026-07-17 10:55:40 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
SW-Plugins/wsc_swplugin_mengenzuschlag!2
No description provided.