marthaegrimaldi / marthaegrimaldi/ifood-clone-using-react-native
Enatega Website: Remove tip when customer selects a pickup order.
- 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:
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.
Desktop (please complete the following information):
OS: [Windows]
Browser [chrome]
Labels: Enatega Website, Bug
Contributor guide
Research direction
Start at the checkout flow described in the reproduction steps and trace where the tip option is rendered after the customer selects Pickup. Verify the behavior for both Pickup and delivery orders, then confirm that the tip option is hidden or removed only for Pickup orders.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 72/100