Skip to content

Commit 8c1575b

Browse files
committed
MC-24725: Cyclic ajax requests to cart section in shopping cart
1 parent 2a4641b commit 8c1575b

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Checkout/view/frontend/web/js/model

1 file changed

+1
-1
lines changed

app/code/Magento/Checkout/view/frontend/web/js/model/totals.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ define([
2222
quoteItems(newValue.items);
2323
});
2424

25-
if (quoteSubtotal !== subtotalAmount) {
25+
if (quoteSubtotal !== subtotalAmount && !isNaN(subtotalAmount)) {
2626
customerData.reload(['cart'], false);
2727
}
2828

0 commit comments

Comments
 (0)