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

This commit is contained in:
2026-02-13 21:53:30 +00:00
parent 693e8cde2f
commit db5151d150

View File

@@ -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}