From 69c836a5782c6d244986413c531a3fc3857b15b9 Mon Sep 17 00:00:00 2001 From: ncoronel Date: Fri, 21 Aug 2026 13:42:59 -0300 Subject: [PATCH] refactor(cart): preserve cart when checkout starts --- src/app/core/layout/store-layout/store-layout.component.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/core/layout/store-layout/store-layout.component.ts b/src/app/core/layout/store-layout/store-layout.component.ts index 72506e4..b5740d0 100644 --- a/src/app/core/layout/store-layout/store-layout.component.ts +++ b/src/app/core/layout/store-layout/store-layout.component.ts @@ -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 },