Closed ryanmitchell closed 4 hours ago
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 |
Any thoughts on this one?
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, orhighest
for selecting the highest rate in the basket.