From 09f5fe8af7ea80691b6b11d312519e618ebf1eaa Mon Sep 17 00:00:00 2001 From: touffies Date: Fri, 18 Oct 2013 09:13:42 +0200 Subject: [PATCH] Add a message if the cart is empty --- templates/default/cart.html | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/templates/default/cart.html b/templates/default/cart.html index 1135ae1b6..8aa6ef3a3 100644 --- a/templates/default/cart.html +++ b/templates/default/cart.html @@ -16,6 +16,8 @@

{intl l="Your Cart"}

+ {nocache} + {ifloop rel="cartloop"}
1 {intl l="Your Cart"} 2 {intl l="Billing and delivery"} @@ -53,10 +55,7 @@ - - {nocache} {loop type="cart" name="cartloop"} - @@ -120,7 +119,6 @@ {/loop} - {/nocache} @@ -138,6 +136,13 @@ {intl l="Continue Shopping"} {intl l="Proceed checkout"} + {/ifloop} + {elseloop rel="cartloop"} +
+ {intl l="Warning"}! {intl l="You have no items in your shopping cart."} +
+ {/elseloop} + {/nocache} {ifloop rel="product_upsell"}