pwa-kit
pwa-kit copied to clipboard
[BUG]Promo code input does show error message in V3
Summary
Short summary of what is going on or to provide context. Promo code input submission in V3 does not work as expected
Steps To Reproduce
- Visit https://pwa-kit.mobify-storefront.com/
- Add an item to cart
- Go to Cart
- Open promo code accordion
- Input an invalid promo code
- Click Apply, the accordion does not show error message for invalid code
Expected result
Describe what should have happened.
- Successfull toast will show up if promo code is valid
- Error will show below the input and the accordion will not close
Actual result
Describe what actually happened. Promo Code accordion will close and not show any error message
https://github.com/SalesforceCommerceCloud/pwa-kit/assets/52219283/f61beb24-f90b-4460-a3e7-4840baec2a76
System Information (as applicable)
Browser: Chrome Node version: pwa-kit version: v3.x Desktop OS: Mobile Device Info:
Additional information
Feel free to attach a screenshot.