Update src/app/shop/[id]/page.tsx

This commit is contained in:
2026-02-13 17:33:03 +00:00
parent 87e58554ab
commit 5cb803ccec

View File

@@ -195,8 +195,8 @@ export default function ProductPage({ params }: ProductPageProps) {
sku={meta.sku} sku={meta.sku}
buttons={[ buttons={[
{ text: "Add To Cart", onClick: handleAddToCart }, { text: "Add To Cart", onClick: handleAddToCart },
{ text: "Buy Now", onClick: handleBuyNow }, { text: "Buy Now", onClick: handleBuyNow }
] ]}
/> />
</div> </div>
<div id="productCart" data-section="productCart"> <div id="productCart" data-section="productCart">
@@ -209,9 +209,9 @@ export default function ProductPage({ params }: ProductPageProps) {
total={`$${cartTotal}`} total={`$${cartTotal}`}
buttons={[ buttons={[
{ {
text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout, text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout
}, }
] ]}
/> />
</div> </div>
<div id="footer" data-section="footer"> <div id="footer" data-section="footer">