1404/11/19-add inventory for product
This commit is contained in:
@@ -308,7 +308,7 @@ async function handleCheckout() {
|
||||
return {
|
||||
direction: 1, // 1 for buy (cart items are always buy orders)
|
||||
price: productPrice,
|
||||
amount: item.quantity,
|
||||
amount: product.amount,
|
||||
gateway: item.gateway,
|
||||
product_id: product.id,
|
||||
method: item.method,
|
||||
|
||||
Reference in New Issue
Block a user