summaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-10-24 13:43:25 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-10-24 13:43:25 +0800
commitf80e3c5de98a637e0907eea3610682a8edb53a57 (patch)
tree8185c733286f2470e1cebec31b0a91622a2ebdd2 /client.c
parentd25508e3a148d2309b8137fa317b6cf87150b0bd (diff)
Increase nitems on every order
Diffstat (limited to 'client.c')
-rw-r--r--client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/client.c b/client.c
index d06084c..4edecae 100644
--- a/client.c
+++ b/client.c
@@ -108,6 +108,7 @@ void icclient_order(icclient_ord_order **orderptr, const char *sku
order->subtotal += item->product->price;
order->total_cost += item->product->price;
+ order->nitems++;
request(NULL, NULL, NULL, "%s%s", "order?mv_arg=", sku);
}