Skip to content

Commit 23ec101

Browse files
committed
Merge remote-tracking branch 'origin/feature/load-cart-token-4x' into feature/load-cart-token
# Conflicts: # CHANGELOG.md # src/controllers/CartController.php # src/models/Settings.php # src/services/Carts.php
2 parents 3e68fcb + a5a24af commit 23ec101

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/controllers/CartController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,8 @@ public function actionLoadCart(): ?Response
437437
}
438438
}
439439

440-
// Load the cart (existing logic)
440+
// 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);
441442
$redirect = UrlHelper::siteUrl(path: $loadCartRedirectUrl, siteId: $cart->orderSiteId);
442443
$carts->forgetCart();
443444
$carts->setSessionCartNumber($number);

0 commit comments

Comments
 (0)