From f80e3c5de98a637e0907eea3610682a8edb53a57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Thu, 24 Oct 2019 13:43:25 +0800 Subject: Increase nitems on every order --- client.c | 1 + 1 file changed, 1 insertion(+) 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); } -- cgit v1.2.3