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 2e94aff commit 2ab6288Copy full SHA for 2ab6288
components/Header/Cart.vue
@@ -76,7 +76,7 @@ export default {
76
// Check if we are in the browser before checking localStorage
77
// Will refresh the page to refetch the session from WooCommerce
78
if (process.browser && !localStorage.getItem('woo-session')) {
79
- window.location.reload(true)
+ this.$router.push('/')
80
}
81
},
82
0 commit comments