aboutsummaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/cart.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/shared/cart.js b/shared/cart.js
index 8393565..4d7b8ea 100644
--- a/shared/cart.js
+++ b/shared/cart.js
@@ -38,6 +38,11 @@ $(document).ready(function(){
showEmptyCart();
}
});
+
+ function showEmptyCart() {
+ $('#loader').html('<h1>Your Cart is Empty</h1><p>Click <a href="../">here</a> to shop for some products.</p>');
+ showAlert('Your cart is empty. Go add something.')
+ }
});