Margaret-Petersen / Margaret-Petersen/python-based-food-ordering-system

minimum checkout limit not followed

Open
#1,247 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
the minimum order limit of the restaurant was 5000 but it took orders below it

To Reproduce
Steps to reproduce the behavior:

Go to 'place order'
Click on 'any items that are below the limit of orders'
proceed to checkout and order
See error
Expected behavior
should not accept orders below the limit

Screenshots
Screenshot 2024-03-11 145427
Screenshot 2024-03-11 145359

Desktop (please complete the following information):

OS: Windows
Browser Chrome
Version 122.0.6261.95 (Official Build) (64-bit)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the place-order flow and checkout path described in the reproduction steps. Reproduce an order below the restaurant's 5000 minimum in Chrome, then trace where the minimum is checked. Done means checkout rejects orders below the configured minimum while valid orders remain accepted.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.