Skip to content
This repository was archived by the owner on May 28, 2023. It is now read-only.

Commit deb8304

Browse files
author
Agata Firlejczyk
committed
taxcalc.js - fix issue with deprecatedPriceFieldsSupport config.
1 parent 62fd54b commit deb8304

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/taxcalc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ export function calculateProductTax ({ product, taxClasses, taxCountry = 'PL', t
230230
}
231231
}
232232
if (!rateFound) {
233-
updateProductPrices({ product, rate: {rate: 0} })
233+
updateProductPrices({ product, rate: {rate: 0}, sourcePriceInclTax, deprecatedPriceFieldsSupport })
234234

235235
product.price_incl_tax = product.price
236236
product.price_tax = 0

0 commit comments

Comments
 (0)