diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-10-24 13:43:25 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-10-24 13:43:25 +0800 |
commit | f80e3c5de98a637e0907eea3610682a8edb53a57 (patch) | |
tree | 8185c733286f2470e1cebec31b0a91622a2ebdd2 | |
parent | d25508e3a148d2309b8137fa317b6cf87150b0bd (diff) |
Increase nitems on every order
-rw-r--r-- | client.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); } |