Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.

Commit 7960897

Browse files
committed
Cart load fixed
1 parent dfa5516 commit 7960897

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/modules/offline-order/helpers/onNetworkStatusChange.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ export function onNetworkStatusChange (store) {
1111

1212
if (typeof navigator !== 'undefined' && navigator.onLine) {
1313
EventBus.$emit('sync/PROCESS_QUEUE', { config: config }) // process checkout queue
14+
store.dispatch('cart/load')
15+
1416
if (config.orders.offline_orders.automatic_transmission_enabled || store.getters['checkout/isThankYouPage']) {
1517
EventBus.$emit('order/PROCESS_QUEUE', { config: config }) // process checkout queue
1618
// store.dispatch('cart/serverPull', { forceClientState: false })
17-
store.dispatch('cart/load')
1819
} else {
1920
const ordersToConfirm = []
2021
const storeView = currentStoreView()

0 commit comments

Comments
 (0)