refactor(cart): preserve cart when checkout starts

This commit is contained in:
2026-08-21 13:42:59 -03:00
parent 87cc430f05
commit 69c836a578

View File

@@ -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 },