summaryrefslogtreecommitdiff
path: root/pages/shop/cart/add.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'pages/shop/cart/add.fnl')
-rw-r--r--pages/shop/cart/add.fnl2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/shop/cart/add.fnl b/pages/shop/cart/add.fnl
index b276608..f6b3d54 100644
--- a/pages/shop/cart/add.fnl
+++ b/pages/shop/cart/add.fnl
@@ -4,7 +4,7 @@
(fn render [request db]
(if (= request.method "POST")
(do
- (var order-id (shop.order-id request))
+ (var order-id request.cookies.order)
(var headers {})
(when (not order-id)