Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MBL-1719] Include Selected Reward Quantities In Total Estimated Shipping Range #2152

Merged
merged 3 commits into from
Sep 10, 2024

Conversation

scottkicks
Copy link
Contributor

@scottkicks scottkicks commented Sep 9, 2024

📲 What

When editing reward and selecting the same reward with additional+new add-ons, estimated shipping doesn't include the cost for all the new add-ons.

🤔 Why

We need to display the correct total estimated shipping

🛠 How

Include the selected quantities in the calculations in SharedFunctions.estimatedShippingText()
update tests

👀 See

If the base reward's estimated shipping is $1-$10
and the selected add-on estimated shipping is $1-$5

If the backer selects 2 of the add-ons, the total estimated shipping should be $3-$20

Simulator Screen Recording - iPhone 15 Pro 17 5 - 2024-09-09 at 10 26 09

✅ Acceptance criteria

  • The correct estimated shipping range is displayed and now includes the selected add-on quantities

@scottkicks scottkicks marked this pull request as ready for review September 9, 2024 18:04
@scottkicks scottkicks requested a review from ifosli September 9, 2024 18:05
@scottkicks scottkicks merged commit 6976e5f into main Sep 10, 2024
5 checks passed
@scottkicks scottkicks deleted the scott/redemption/add-ons-quantities-fix branch September 10, 2024 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants