Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Error message for auto-applied coupons #42

Open
thomaswacker opened this issue Aug 18, 2024 · 0 comments
Open

[Bug]: Error message for auto-applied coupons #42

thomaswacker opened this issue Aug 18, 2024 · 0 comments

Comments

@thomaswacker
Copy link

What happened?

Create a coupon that has any restriction (like customer group) and set "auto-apply". An error message appears that you cannot apply the coupon. if you add a product to the cart.

What did you expect to happen?

No error message if user does not enter the coupon code. This happens because the exception from validateCoupon is always alerted without testing the auto_apply flag.

Version

3.x

What browser are you seeing the problem on?

Firefox, Chrome

Relevant log output

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant