Skip to content

Commit 5a4e583

Browse files
committed
MC-18719: private cookie version increments each post request
1 parent 4f58221 commit 5a4e583

File tree

1 file changed

+5
-2
lines changed
  • app/code/Magento/Checkout/view/frontend/web/js/view

1 file changed

+5
-2
lines changed

app/code/Magento/Checkout/view/frontend/web/js/view/minicart.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,11 @@ define([
103103
});
104104

105105
if (
106-
cartData().website_id !== window.checkout.websiteId &&
107-
cartData().website_id !== undefined
106+
(cartData().website_id !== window.checkout.websiteId &&
107+
cartData().website_id !== undefined)
108+
||
109+
(cartData().storeId !== window.checkout.storeId &&
110+
cartData().storeId !== undefined)
108111
) {
109112
customerData.reload(['cart'], false);
110113
}

0 commit comments

Comments
 (0)