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

The application is processing orders with an amount less than the minimum order value. #89

Open
lambertf917 opened this issue Dec 20, 2024 · 0 comments
Labels

Comments

@lambertf917
Copy link
Collaborator

Describe the bug
The application is processing orders with an amount less than the minimum order value.

To Reproduce

  1. Open the application and select items to add to the cart.
  2. Ensure the total order amount is below the minimum order value set by the restaurant.
  3. Proceed to checkout and place the order.

Expected behavior

  1. The application should validate the total order amount during checkout.
  2. If the order amount is less than the minimum required value, the user should see a message like: "The order amount is below the minimum required value of [amount]. Please add more items to proceed."
  3. The order should not be processed until the minimum order value is met.

Proposed Solution

  1. Add a validation check at checkout to compare the total order amount with the minimum order value.
  2. If the amount is below the threshold, disable the checkout option and display a clear error message.

Smartphone (please complete the following information):

  • Device: iPhone15pro
  • OS: iOS17.6.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant