We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3e68fcb + a5a24af commit 23ec101Copy full SHA for 23ec101
src/controllers/CartController.php
@@ -437,7 +437,8 @@ public function actionLoadCart(): ?Response
437
}
438
439
440
- // Load the cart (existing logic)
+ // Set the token to null on the request so it will not be added to the redirect URL that is generated
441
+ $this->request->setToken(null);
442
$redirect = UrlHelper::siteUrl(path: $loadCartRedirectUrl, siteId: $cart->orderSiteId);
443
$carts->forgetCart();
444
$carts->setSessionCartNumber($number);
0 commit comments