refactor(cart): preserve cart when checkout starts
This commit is contained in:
@@ -236,7 +236,6 @@ export class StoreLayoutComponent implements OnInit {
|
||||
cart_id: cart.id,
|
||||
});
|
||||
|
||||
this.cartService.clearCart();
|
||||
this.isCartOpen.set(false);
|
||||
await this.router.navigate(['/checkout'], {
|
||||
queryParams: { purchase: purchase.id },
|
||||
|
||||
Reference in New Issue
Block a user