We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b66dd4 commit 79da45dCopy full SHA for 79da45d
app/code/Magento/Checkout/view/frontend/web/js/cart/ensure-subtotal-sync.js
@@ -39,6 +39,7 @@ define([
39
$root.find('#shopping-cart-table .col.subtotal .cart-price').each(function () {
40
const text = $(this).text();
41
const val = parsePrice(text);
42
+
43
if (!isNaN(val)) {
44
sum += val;
45
}
@@ -56,8 +57,7 @@ define([
56
57
if (clicked) {
58
return;
59
- const central = getCentralSubtotal();
60
- const summary = getSummarySubtotal();
+ const central = getCentralSubtotal(), summary = getSummarySubtotal();
61
if (!isNaN(central) && !isNaN(summary) && central !== summary) {
62
const $updateBtn = $root.find('.cart.main.actions button.action.update');
63
if ($updateBtn.length) {
0 commit comments