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

Cart update success message displayed for empty discount code input #15862

Open
Kriz83 opened this issue Feb 21, 2024 · 1 comment
Open

Cart update success message displayed for empty discount code input #15862

Kriz83 opened this issue Feb 21, 2024 · 1 comment
Assignees

Comments

@Kriz83
Copy link

Kriz83 commented Feb 21, 2024

Sylius version affected: 1.11., 1.12.

Description
Given:

  • there is an item in the cart

Steps to reproduce

  • Click on the "Apply coupon" button (leave the field with the code blank)
    image
  • Instead of the Coupon code is invalid. message there is a flash message Success - The cart has been successfully updated
    current:
    image
    expected:
    image
@Rafikooo
Copy link
Contributor

Hello @Kriz83, thank you for submitting the issue. We acknowledge the validity of your concern. Currently, we have other pressing matters to address. However, if you are interested in contributing to Sylius on your own, we would greatly appreciate it. One simple solution would be to deactivate the button when input field is empty 🕺

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

3 participants