You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.
After checkout, when redirected to the /order-success route the clearTheCart() function is not getting triggered.
There are 2 listening events being registered on the beforeMount hook, however these events are not triggering this function even though I see the respective mutations and the event being fired during page load.
The event does not show up in the vue devtools and maybe this is because of SSR or some other obscure reason but I would like to understand what's happening here.
In the mean time I just called the function directly in the beforeMount hook to clear the cart no matter what when the user visits this page as such.
After checkout, when redirected to the
/order-success
route theclearTheCart()
function is not getting triggered.There are 2 listening events being registered on the beforeMount hook, however these events are not triggering this function even though I see the respective mutations and the event being fired during page load.
The event does not show up in the vue devtools and maybe this is because of SSR or some other obscure reason but I would like to understand what's happening here.
In the mean time I just called the function directly in the
beforeMount
hook to clear the cart no matter what when the user visits this page as such.The text was updated successfully, but these errors were encountered: