From a8157fda43e361951814bbbb1c62b44576485e89 Mon Sep 17 00:00:00 2001 From: bender Date: Sat, 14 Feb 2026 12:28:55 +0000 Subject: [PATCH 1/2] Update src/app/shop/[id]/page.tsx --- src/app/shop/[id]/page.tsx | 182 ++++++++++++++++++------------------- 1 file changed, 91 insertions(+), 91 deletions(-) diff --git a/src/app/shop/[id]/page.tsx b/src/app/shop/[id]/page.tsx index 1215fbe..63c4b92 100644 --- a/src/app/shop/[id]/page.tsx +++ b/src/app/shop/[id]/page.tsx @@ -82,35 +82,35 @@ export default function ProductPage({ params }: ProductPageProps) { >

Loading product...

@@ -159,17 +159,17 @@ export default function ProductPage({ params }: ProductPageProps) { @@ -191,68 +191,68 @@ export default function ProductPage({ params }: ProductPageProps) { >
- 0 ? variants : undefined} - quantity={quantityVariant} - ribbon={meta.ribbon} - inventoryStatus={meta.inventoryStatus} - inventoryQuantity={meta.inventoryQuantity} - sku={meta.sku} - buttons={[ - { text: "Add To Cart", onClick: handleAddToCart }, - { text: "Buy Now", onClick: handleBuyNow }, - ]} - /> + 0 ? variants : undefined} + quantity={quantityVariant} + ribbon={meta.ribbon} + inventoryStatus={meta.inventoryStatus} + inventoryQuantity={meta.inventoryQuantity} + sku={meta.sku} + buttons={[ + { text: "Add To Cart", onClick: handleAddToCart }, + { text: "Buy Now", onClick: handleBuyNow }, + ]} + />
- setCartOpen(false)} - items={cartItems} - onQuantityChange={updateQuantity} - onRemove={removeItem} - total={`$${cartTotal}`} - buttons={[ - { - text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout, - }, - ]} - /> + setCartOpen(false)} + items={cartItems} + onQuantityChange={updateQuantity} + onRemove={removeItem} + total={`$${cartTotal}`} + buttons={[ + { + text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout, + }, + ]} + />
-- 2.49.1 From 024db94e988f21bc3dc924c54ad51e607b9f9f24 Mon Sep 17 00:00:00 2001 From: bender Date: Sat, 14 Feb 2026 12:28:55 +0000 Subject: [PATCH 2/2] Update src/app/shop/page.tsx --- src/app/shop/page.tsx | 114 +++++++++++++++++++++--------------------- 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/src/app/shop/page.tsx b/src/app/shop/page.tsx index 4e63528..dea3d53 100644 --- a/src/app/shop/page.tsx +++ b/src/app/shop/page.tsx @@ -35,35 +35,35 @@ export default function ShopPage() { >

Loading products...

@@ -85,43 +85,43 @@ export default function ShopPage() { >
- +
-- 2.49.1