From dd2b6d52c028fec4d2a9b214c24570d5bc0f010b Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 13 Feb 2026 16:32:03 +0000 Subject: [PATCH 1/2] Update src/app/shop/[id]/page.tsx --- src/app/shop/[id]/page.tsx | 254 ++++++++++++++++++------------------- 1 file changed, 127 insertions(+), 127 deletions(-) diff --git a/src/app/shop/[id]/page.tsx b/src/app/shop/[id]/page.tsx index 5510870..ec1d6ca 100644 --- a/src/app/shop/[id]/page.tsx +++ b/src/app/shop/[id]/page.tsx @@ -82,45 +82,45 @@ export default function ProductPage({ params }: ProductPageProps) { >

Loading product...

@@ -167,6 +167,99 @@ export default function ProductPage({ params }: ProductPageProps) { + + + ); + } + + return ( + + + +
+ 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, + }, + ]} + /> +
+ -
-
- ); - } - - return ( - - - -
- 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, - }, - ]} - /> -
-
From 40f56517d4a4c4e0e19317f7cbe644204e518e9c Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 13 Feb 2026 16:32:04 +0000 Subject: [PATCH 2/2] Update src/app/shop/page.tsx --- src/app/shop/page.tsx | 146 +++++++++++++++++++++--------------------- 1 file changed, 73 insertions(+), 73 deletions(-) diff --git a/src/app/shop/page.tsx b/src/app/shop/page.tsx index ea17d99..307a411 100644 --- a/src/app/shop/page.tsx +++ b/src/app/shop/page.tsx @@ -35,6 +35,66 @@ export default function ShopPage() { > +
+

Loading products...

+
+ +
+ + ); + } + + return ( + + + -
-

Loading products...

-
- +
+ +
+ -
-
- ); - } - - return ( - - - -
- -
-