fix(tax): Use correct rule reference for shipping (#13195)

* fix(tax): Use correct rule reference

* fix tests
This commit is contained in:
Oli Juhl
2025-08-13 21:06:19 +02:00
committed by GitHub
parent 356b2862d2
commit f4ae615a3e
3 changed files with 122 additions and 4 deletions

View File

@@ -654,7 +654,7 @@ export default class TaxModuleService
const matchingRules = rate.rules.filter((rule) => {
if (isShipping) {
return (
rule.reference === "shipping" &&
rule.reference === "shipping_option" &&
rule.reference_id === item.shipping_option_id
)
}