feat: show errors direclty under the input
Änderungen vergleichen
Dateien
4- Michael Danielczok erstellt
Improve error handling for coupon code input. Added a catch block to handle errors when adding a coupon code to the basket. The error message is now displayed directly under the input field, providing a better user experience. Related: #20
+ 65
− 36
@@ -13,6 +13,15 @@
@@ -23,20 +32,25 @@ function ($code, $orderHash) {
@@ -49,40 +63,55 @@ function ($code, $orderHash) {
@@ -105,7 +134,7 @@ function ($code, $orderHash) {