Update src/app/shop/[id]/page.tsx
This commit is contained in:
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user