From 599152dbf36aab5fea32f763579ae1351661d7a5 Mon Sep 17 00:00:00 2001 From: Mark Moffat Date: Tue, 17 Mar 2020 21:06:21 +1030 Subject: [PATCH] Display message when no orders for customer --- views/themes/Cloth/customer-account.hbs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/views/themes/Cloth/customer-account.hbs b/views/themes/Cloth/customer-account.hbs index 3c743f1..e3ff9e8 100644 --- a/views/themes/Cloth/customer-account.hbs +++ b/views/themes/Cloth/customer-account.hbs @@ -50,6 +50,13 @@
{{ @root.__ "Orders" }}
+ {{#unless orders}} +
+
+ There are no orders for this account. Order here +
+
+ {{/unless}} {{#each orders}}