marthaegrimaldi / marthaegrimaldi/ifood-clone-using-react-native

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

Open
#495 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
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

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 by reproducing the checkout flow described in the issue and trace the customer order-type and tip UI entry points. Verify that selecting Pickup hides or removes the tip option while Delivery continues to show it; the issue provides no specific file or test to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
frontend, mobile
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.