From 967cc02175f33396f2b465e69853ab08a0f395d1 Mon Sep 17 00:00:00 2001 From: development Date: Mon, 9 Feb 2026 14:11:29 +0000 Subject: [PATCH] Update src/app/shop/[id]/page.tsx --- src/app/shop/[id]/page.tsx | 52 +++++++++++++++++++++++++------------- 1 file changed, 35 insertions(+), 17 deletions(-) diff --git a/src/app/shop/[id]/page.tsx b/src/app/shop/[id]/page.tsx index f315198..38386a4 100644 --- a/src/app/shop/[id]/page.tsx +++ b/src/app/shop/[id]/page.tsx @@ -84,13 +84,12 @@ export default function ProductPage({ params }: ProductPageProps) {
@@ -119,13 +118,12 @@ export default function ProductPage({ params }: ProductPageProps) {
@@ -161,14 +159,13 @@ export default function ProductPage({ params }: ProductPageProps) {
@@ -188,7 +185,7 @@ export default function ProductPage({ params }: ProductPageProps) { sku={meta.sku} buttons={[ { text: "Add To Cart", onClick: handleAddToCart }, - { text: "Buy Now", onClick: handleBuyNow }, + { text: "Buy Now", onClick: handleBuyNow } ]} />
@@ -202,18 +199,39 @@ export default function ProductPage({ params }: ProductPageProps) { total={`$${cartTotal}`} buttons={[ { - text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout, - }, + text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout + } ]} />