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} + />