From 46189d68509638ec45b1624ccc6be60943d5231e Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Mon, 5 Jul 2021 19:05:47 +0700 Subject: trying to put badge inside the cart icon --- templates/layout/noleft | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'templates/layout') diff --git a/templates/layout/noleft b/templates/layout/noleft index 332e907..0814bcc 100644 --- a/templates/layout/noleft +++ b/templates/layout/noleft @@ -43,19 +43,19 @@ shopping_bag + [calc] + if ([nitems] ne '0') { + return q( +
+ + [nitems] + + items in cart + +
); + } + [/calc]
- [calc] - if ([nitems] ne '0') { - return q( -
- - [nitems] - - items in cart - -
); - } - [/calc]
-- cgit v1.2.3