chore(): order module index and some impl details (#13462)

* order module fixes

* order module fixes

* fixes

* revert big number

* Create wet-wombats-rule.md
This commit is contained in:
Adrien de Peretti
2025-09-11 09:02:38 +02:00
committed by GitHub
parent 368c1d1e17
commit 823a5c75ff
23 changed files with 680 additions and 463 deletions

View File

@@ -130,10 +130,7 @@ export function decorateCartTotals(
itemsOriginalTaxTotal,
itemOriginalTaxTotal
)
itemsDiscountTotal = MathBN.add(
itemsDiscountTotal,
itemDiscountTotal
)
itemsDiscountTotal = MathBN.add(itemsDiscountTotal, itemDiscountTotal)
for (const key of Object.values(optionalFields)) {
if (key in itemTotals) {