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 cc822cd commit 598d20bCopy full SHA for 598d20b
components/Header/Cart.vue
@@ -71,7 +71,7 @@ export default {
71
// Check if we are in the browser before checking localStorage
72
// Will refresh the page to refetch the session from WooCommerce
73
if (process.browser && !localStorage.getItem('woo-session')) {
74
- this.$router.push({ path: '/', force: true })
+ window.location.reload(true)
75
}
76
},
77
0 commit comments