summaryrefslogtreecommitdiff
path: root/src-migrate/modules/product-detail/components/PriceAction.tsx
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-08-01 08:48:48 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-08-01 08:48:48 +0700
commit0abd42f8b528b3166169fef7093d4d8b22f3fb79 (patch)
tree67e9896dd7f2f312e9aaffd4c02073a72889b25b /src-migrate/modules/product-detail/components/PriceAction.tsx
parent4339c49be8f30dbb47b6882e61e909837dc91e81 (diff)
<iman> add pop up when hit keranjang button
Diffstat (limited to 'src-migrate/modules/product-detail/components/PriceAction.tsx')
-rw-r--r--src-migrate/modules/product-detail/components/PriceAction.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src-migrate/modules/product-detail/components/PriceAction.tsx b/src-migrate/modules/product-detail/components/PriceAction.tsx
index 81271f6e..9021264e 100644
--- a/src-migrate/modules/product-detail/components/PriceAction.tsx
+++ b/src-migrate/modules/product-detail/components/PriceAction.tsx
@@ -97,12 +97,14 @@ const PriceAction = ({ product }: Props) => {
className={style['quantity-input']}
/>
<AddToCart
+ products={product}
variantId={activeVariantId}
quantity={Number(quantityInput)}
/>
{!isApproval && (
<AddToCart
source='buy'
+ products={product}
variantId={activeVariantId}
quantity={Number(quantityInput)}
/>