From d643368d3a651ae18607703573167450f848cf55 Mon Sep 17 00:00:00 2001 From: Gustavo Luigi Date: Wed, 31 Aug 2022 13:36:20 +0200 Subject: [PATCH] flush cart after checkout and show cart success --- content/pages/checkout.blade.php | 70 +++++++++++++------------------- 1 file changed, 28 insertions(+), 42 deletions(-) diff --git a/content/pages/checkout.blade.php b/content/pages/checkout.blade.php index 6cd32b1..5dda85c 100644 --- a/content/pages/checkout.blade.php +++ b/content/pages/checkout.blade.php @@ -13,18 +13,30 @@

-
-
- Persönliche Daten
+
+ + + + Persönliche Daten +
-
- + @if(session()->has('success')) +
+
{{session()->get('success')}}
+
+ @endif + @if(session()->has('error')) +
+
{{session()->get('error')}}
+
+ @endif +