Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[M2P-161] Fix issue with IE11: cart total isn't shown under some condition #808

Merged
merged 1 commit into from
Jul 22, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion view/frontend/templates/js/replacejs.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -2288,9 +2288,10 @@ if (!$block->isSaveCartInSections()) { ?>
if (trim(location.pathname, '/') === 'checkout/cart') {
require([
'jquery',
'Magento_Customer/js/customer-data',
'Magento_Checkout/js/model/quote',
'domReady!'
], function ($, quote) {
], function ($, customerData, quote) {
// If quote total was changed through a method we didn't create,
// we should reload the bolt cart since totals are probably now out of sync.
quote.totals.subscribe(function (newValue) {
Expand Down