+
setCartOpen(true) }}
/>
@@ -149,11 +149,11 @@ export default function ProductPage({ params }: ProductPageProps) {
@@ -174,61 +174,61 @@ export default function ProductPage({ params }: ProductPageProps) {
headingFontWeight="light"
>
-
-
setCartOpen(true) }}
- />
+
+ setCartOpen(true) }}
+ />
-
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,
+ },
+ ]}
+ />
diff --git a/src/app/shop/page.tsx b/src/app/shop/page.tsx
index 71bc134..db6539c 100644
--- a/src/app/shop/page.tsx
+++ b/src/app/shop/page.tsx
@@ -31,28 +31,28 @@ export default function ShopPage() {
headingFontWeight="light"
>
-
-
console.log("cart") }}
- />
+
+ console.log("cart") }}
+ />
Loading products...
@@ -73,36 +73,36 @@ export default function ShopPage() {
headingFontWeight="light"
>
-
-
console.log("cart") }}
- />
+
+ console.log("cart") }}
+ />