gray-mueller / gray-mueller/online-food-ordering-solution-using-react-js

Enatega Customer Application: Remove Tip option when customer selects pickup-order (SUGGESTION)

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
0
Forks
0
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

Open the contributing guide

Research direction

No file or test is named. Start by locating the checkout flow and the component that renders the tip option, then reproduce the Pickup selection described in the issue. Done means the tip option is no longer visible for pickup orders while remaining available for delivery orders.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.