From 8a33708c93b32eb7073e9dd68e14a1fde87e9a46 Mon Sep 17 00:00:00 2001 From: bender Date: Sat, 14 Feb 2026 00:28:16 +0000 Subject: [PATCH] Update src/app/shop/[id]/page.tsx --- src/app/shop/[id]/page.tsx | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/src/app/shop/[id]/page.tsx b/src/app/shop/[id]/page.tsx index f676707..2734509 100644 --- a/src/app/shop/[id]/page.tsx +++ b/src/app/shop/[id]/page.tsx @@ -94,7 +94,6 @@ export default function ProductPage({ params }: ProductPageProps) { brandName="JT Roofing" bottomLeftText="Available 24/7 for emergencies" bottomRightText="call@jtroofing.com" - button={{ text: "Cart", onClick: () => setCartOpen(true) }} />
@@ -147,17 +146,29 @@ export default function ProductPage({ params }: ProductPageProps) { bottomRightText="call@jtroofing.com" /> -
- + router.push('/shop')} />
+ setCartOpen(false)} + items={cartItems} + onUpdateQuantity={updateQuantity} + onRemove={removeItem} + total={cartTotal} + onCheckout={handleCheckout} + isCheckoutLoading={isCheckoutLoading} + />