summaryrefslogtreecommitdiff
path: root/src/lib/checkout/components
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-11-12 07:36:02 +0000
committerIT Fixcomart <it@fixcomart.co.id>2024-11-12 07:36:02 +0000
commitefc1ab22528dac05d3ad89a7506349eb3b553539 (patch)
tree31a7b3583fd41058d75f46efb66fb40087347e3a /src/lib/checkout/components
parentbf668785232e2d7abba1660dfdb6eb2746adc09a (diff)
parent584e3fd7f4d33992046557ba18ee8eeac993e650 (diff)
Merged in CR/new_product_detail (pull request #378)
CR/new product detail
Diffstat (limited to 'src/lib/checkout/components')
-rw-r--r--src/lib/checkout/components/Checkout.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/checkout/components/Checkout.jsx b/src/lib/checkout/components/Checkout.jsx
index 0e180d9c..e83e719c 100644
--- a/src/lib/checkout/components/Checkout.jsx
+++ b/src/lib/checkout/components/Checkout.jsx
@@ -442,6 +442,7 @@ const Checkout = () => {
const productOrder = products.map((product) => ({
product_id: product.id,
quantity: product.quantity,
+ available_quantity: product?.availableQuantity,
}));
let data = {
// partner_shipping_id: auth.partnerId,