summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-04-01 11:44:18 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-04-01 11:44:18 +0800
commit813507ca1813ff6cb4ca0a35de4550c6178af235 (patch)
tree61b3b2bbbd45372d1b98a46a92dffe5858b5076e
parent3a1c71e902ce6c005b569f768a6e1e04714dbd99 (diff)
mv_quantity_update is needed when it's not quantity0
-rw-r--r--ord.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ord.c b/ord.c
index a386681..a3019e7 100644
--- a/ord.c
+++ b/ord.c
@@ -14,9 +14,10 @@ void interchange_ord_order(const char *sku,
void interchange_ord_remove(const char *name, const char *orderpage,
const char *nextpage, void (*parser)(interchange_response *))
{
- request(parser, NULL, &(struct body){ 3 + (nextpage ? 1 : 0), {
- { name, "0" },
+ request(parser, NULL, &(struct body){ 4 + (nextpage ? 1 : 0), {
+ { "mv_quantity_update", "1" },
{ "mv_doit", "refresh" },
+ { name, "0" },
{ "mv_orderpage", orderpage ? orderpage : "ord/basket" },
{ "mv_nextpage", nextpage }
}}, "%s", "process");