diff --git a/shop/components/order-wizard.tsx b/shop/components/order-wizard.tsx index 2bb00d4..2bbc0f0 100644 --- a/shop/components/order-wizard.tsx +++ b/shop/components/order-wizard.tsx @@ -796,6 +796,14 @@ export function OrderWizard({ const result = await res.json() if (result.error) throw new Error(result.error) + // Warenkorb & Konfigurations-State vollständig leeren + setBasketItems([]) + setEditingIdx(null) + setDeviceName('') + setLicenseNumber('') + setOrderNotes('') + setModuleQuantities({}) + const firstOrderId = result.orders?.[0]?.id if (firstOrderId) { router.push(`/order/success?id=${firstOrderId}`)