I created an Order History custom page with a button to "Reorder" a cart. After reorder the cart I want to navigate to the cart page but I'm redirected back to my page with a "No Authorization" message. This is what I use to navigate
location.reload(); // refresh cart
this.routingService.go('cart');
If I go to the page through the cart icon everything works ok. What I'm missing?
Cart not found
happens if no cart exists in Backoffice.
you should refresh the cart with this.multiCartService.reloadCart(cartId)
instead of reloading the page.