From efe6d3b5c3583e77492d26eb3b1d7fbc298c9d1e Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Mon, 15 Sep 2008 02:51:06 +0000 Subject: [PATCH] Built out the store sub home pages. git-svn-id: http://svn.cleancode.org/svn/pickles@45 4d10bc64-7434-11dc-a737-d2d0f8310089 --- templates/store/featured_product.tpl | 4 ++++ templates/store/top_sellers.tpl | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/templates/store/featured_product.tpl b/templates/store/featured_product.tpl index 8c59e8f..d009da5 100644 --- a/templates/store/featured_product.tpl +++ b/templates/store/featured_product.tpl @@ -1,3 +1,7 @@ + diff --git a/templates/store/top_sellers.tpl b/templates/store/top_sellers.tpl index 491ede6..b35f62c 100644 --- a/templates/store/top_sellers.tpl +++ b/templates/store/top_sellers.tpl @@ -1,3 +1,13 @@

Top Sellers

+
+ {section name=product loop=$top_sellers start=0 loop=5 step=1} + {$smarty.section.product.index+1}. {$top_sellers[product].name}
+ {/section} +
+
+ {section name=product loop=$top_sellers start=5 loop=10 step=1} + {$smarty.section.product.index+1}. {$top_sellers[product].name}
+ {/section} +