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

Support selection of the highest tax rate in the basket for shipping #1937

Open
wants to merge 9 commits into
base: 1.x
Choose a base branch
from

Conversation

ryanmitchell
Copy link
Contributor

Currently the shipping tables add-on only supports returning the default tax class/rate.

However countries can have different requirements for how tax should be calculated on shipping depending on what is in the basket, for example in the UK shipping should take the most expensive tax rate in the basket.

This PR updates the add-on with a new config option (lunar.shipping-tables.shipping_rate_tax_calculation) which currently has two options: default for selecting the default rate, or highest for selecting the highest rate in the basket.

Copy link

vercel bot commented Sep 4, 2024

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

Name Status Preview Comments Updated (UTC)
lunar-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 5, 2024 2:45pm

@ryanmitchell
Copy link
Contributor Author

Any thoughts on this one?

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.

3 participants