lambertf917 / lambertf917/food-ordering-system-source-code
Enatega Customer Application: Remove Tip option when customer selects pickup-order (SUGGESTION)
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
When a customer selects the "Pickup" option for their order, the system still displays the tip option, which should only be available for delivery orders.
To Reproduce
Steps to reproduce the behavior:
Open the ordering system.
Add items to the cart.
Proceed to checkout.
Select Pickup as the order type.
Observe that the tip option is still visible.
Expected behavior
The tip option should be removed or hidden when the customer selects Pickup as the order type.
Smartphone (please complete the following information):
-All Devices
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the customer checkout flow and reproduce the issue by selecting Pickup after adding items to the cart. Trace where the tip option is rendered and how the selected order type is handled. Done means the tip option is hidden or removed for Pickup orders while remaining available for delivery orders, and the behavior is verified on all devices.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100