feat: show errors direclty under the input
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
Übergeordneter
2b857d4f
No related branches found
No related tags found
- ajax/frontend/redeem.php 65 Ergänzungen, 36 Löschungenajax/frontend/redeem.php
- bin/frontend/controls/CouponCodeInput.css 18 Ergänzungen, 1 Löschungbin/frontend/controls/CouponCodeInput.css
- bin/frontend/controls/CouponCodeInput.html 4 Ergänzungen, 2 Löschungenbin/frontend/controls/CouponCodeInput.html
- bin/frontend/controls/CouponCodeInput.js 121 Ergänzungen, 21 Löschungenbin/frontend/controls/CouponCodeInput.js
Bitte registrieren oder Anmelden zum Kommentieren