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

fix(admin-ui): TIP in shipping option creation #5356

Merged
merged 2 commits into from
Oct 30, 2023

Conversation

olivermrbl
Copy link
Contributor

@olivermrbl olivermrbl commented Oct 11, 2023

Closes #5343

@olivermrbl olivermrbl requested a review from a team as a code owner October 11, 2023 17:14
@changeset-bot
Copy link

changeset-bot bot commented Oct 11, 2023

🦋 Changeset detected

Latest commit: 11ce9e8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@medusajs/admin-ui Patch
@medusajs/admin Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Oct 11, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
api-reference ⬜️ Ignored (Inspect) Visit Preview Oct 11, 2023 5:22pm
docs-ui ⬜️ Ignored (Inspect) Visit Preview Oct 11, 2023 5:22pm
medusa-docs ⬜️ Ignored (Inspect) Visit Preview Oct 11, 2023 5:22pm

@olivermrbl
Copy link
Contributor Author

@kasperkristensen – any chance you could find time to give this a review?

Copy link
Contributor

@kasperkristensen kasperkristensen left a comment

Choose a reason for hiding this comment

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

LGTM, just have one question.

Since the payload for creating a shipping option accepts includes_tax was the original intent that you were supposed to make the decision on a per option basis? IMO it makes perfect sense to base it on setting of the region, but I am not sure if there was some bigger idea behind allowing setting it per option and in that case maybe we should include a toggle in the UI.

@edinskeja
Copy link
Contributor

@olivermrbl when is this going to be merged?

@olivermrbl
Copy link
Contributor Author

Since the payload for creating a shipping option accepts includes_tax was the original intent that you were supposed to make the decision on a per option basis?

I don't think we've discussed this flow, but it is a good point. For now, I'll merge this PR to fix the bug and add an issue for potentially adding in the toggle in the shipping options overview. Is that OK with you?

One thing I do remember is that we discussed moving all TIP-related configurations to the Tax settings in admin for centralization purposes. So if we choose to add a toggle, we should also consider revisiting the Tax settings UI to include it as part of creating a shipping option override.

@olivermrbl olivermrbl merged commit 397da6c into develop Oct 30, 2023
12 checks passed
@olivermrbl olivermrbl deleted the fix/tip-shipping-options branch October 30, 2023 14:17
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.

Tax inclusive shipping prices are broken
3 participants