From 1d1936c17d93fa3fcf603f1800be9c4daa3dcf53 Mon Sep 17 00:00:00 2001 From: Megan O'Keefe Date: Thu, 23 Apr 2020 11:11:08 -0400 Subject: [PATCH] # items in cart is total quantity --- src/frontend/templates/cart.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/templates/cart.html b/src/frontend/templates/cart.html index 9e1c652..59d726a 100755 --- a/src/frontend/templates/cart.html +++ b/src/frontend/templates/cart.html @@ -16,8 +16,8 @@
-

{{ len $.items }} item - {{- if gt (len $.items) 1}}s{{end}} +

{{ $.cart_size }} item + {{- if gt ($.cart_size) 1}}s{{end}} in your cart