-
Notifications
You must be signed in to change notification settings - Fork 371
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support selection of the highest tax rate in the basket for shipping (#…
…1937) 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. --------- Co-authored-by: Author <actions@github.com>
- Loading branch information
1 parent
1ce7206
commit b7df5d0
Showing
3 changed files
with
151 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters