Merge version_1 into main
Merge version_1 into main
This commit was merged in pull request #2.
This commit is contained in:
@@ -241,14 +241,10 @@ export default function ProductPage({ params }: ProductPageProps) {
|
||||
|
||||
<div id="productDetail" data-section="productDetail">
|
||||
<ProductDetailCard
|
||||
product={product}
|
||||
images={images}
|
||||
variants={variants}
|
||||
meta={meta}
|
||||
onAddToCart={handleAddToCart}
|
||||
onBuyNow={handleBuyNow}
|
||||
meta={meta}
|
||||
selectedQuantity={selectedQuantity}
|
||||
quantityVariant={quantityVariant}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -256,8 +252,6 @@ export default function ProductPage({ params }: ProductPageProps) {
|
||||
isOpen={cartOpen}
|
||||
onClose={() => setCartOpen(false)}
|
||||
items={cartItems}
|
||||
onUpdateQuantity={updateQuantity}
|
||||
onRemoveItem={removeItem}
|
||||
total={cartTotal}
|
||||
onCheckout={handleCheckout}
|
||||
isLoading={isCheckoutLoading}
|
||||
|
||||
Reference in New Issue
Block a user