Showing
1 changed file
with
3 additions
and
0 deletions
@@ -19,6 +19,9 @@ $.ajax({ | @@ -19,6 +19,9 @@ $.ajax({ | ||
19 | if (count > 99) { | 19 | if (count > 99) { |
20 | count = '99+'; | 20 | count = '99+'; |
21 | } | 21 | } |
22 | + if (count === 0) { | ||
23 | + $('.cart-count').remove(); | ||
24 | + } | ||
22 | $cart.find('.cart-count').html(count).removeClass('hide'); | 25 | $cart.find('.cart-count').html(count).removeClass('hide'); |
23 | } | 26 | } |
24 | } | 27 | } |
-
Please register or login to post a comment