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-1720] Use location id directly to calculate estimated shipping #2155

Merged
merged 3 commits into from
Sep 11, 2024

Conversation

ifosli
Copy link
Contributor

@ifosli ifosli commented Sep 11, 2024

📲 What

This simplifies the estimated shipping calculation by using location id instead of requiring the entire selected shipping rule. This lets us avoid fetching all shipping rules for a reward when showing backing info.

👀 See

Jira

✅ Acceptance criteria

  • Pledging in staging to rewards/add-ons with unrestricted and restricted shipping should both be unchanged
  • Manage pledge/view pledge page should still show estimated shipping info

@ifosli ifosli marked this pull request as ready for review September 11, 2024 16:25
@ifosli ifosli requested a review from scottkicks September 11, 2024 16:25
Copy link
Contributor

@scottkicks scottkicks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great. Just some formatting issues to take care of before merging.

@ifosli ifosli merged commit 864e57d into main Sep 11, 2024
5 checks passed
@ifosli ifosli deleted the simplifyEstimatedShippingCalculation branch September 11, 2024 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants