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 01:49:38 +0000
committerIT Fixcomart <it@fixcomart.co.id>2024-08-01 01:49:38 +0000
commitf0296b4ef91158ef9c12d4a5b4f17c574352916f (patch)
treeab31341b2be2546e28963b6634747a6dc22e28c5 /src-migrate/modules/product-detail/components/PriceAction.tsx
parentb0f4055042aa0efbbef1ebafbbb032dc4b67da58 (diff)
parent0abd42f8b528b3166169fef7093d4d8b22f3fb79 (diff)
Merged in Feature/iman-cart-popup (pull request #193)
<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)}
/>