Built out the store sub home pages.
git-svn-id: http://svn.cleancode.org/svn/pickles@45 4d10bc64-7434-11dc-a737-d2d0f8310089
This commit is contained in:
parent
b61dc268fe
commit
efe6d3b5c3
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
<img src="/images/products/{$featured.id}/medium.{$featured.image}" class="float-right" style="padding-right: 20px; height: 155px;" />
|
||||||
<div id="store-featured-product">
|
<div id="store-featured-product">
|
||||||
<h1>Featured Product</h1>
|
<h1>Featured Product</h1>
|
||||||
|
<h2>{$featured.name}</h2><br />
|
||||||
|
{$featured.teaser}<br /><br />
|
||||||
|
<img src="/images/store/add_to_cart.gif" /> <img src="/images/store/more_info.gif" />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
<div id="store-top-sellers">
|
<div id="store-top-sellers">
|
||||||
<h1>Top Sellers</h1>
|
<h1>Top Sellers</h1>
|
||||||
|
<div class="float-left" style="width: 175px;">
|
||||||
|
{section name=product loop=$top_sellers start=0 loop=5 step=1}
|
||||||
|
<a href="/store/product/{$top_sellers[product].id}"><b>{$smarty.section.product.index+1}.</b> {$top_sellers[product].name}</a><br />
|
||||||
|
{/section}
|
||||||
|
</div>
|
||||||
|
<div class="float-left" style="width: 175px; padding-left: 10px;">
|
||||||
|
{section name=product loop=$top_sellers start=5 loop=10 step=1}
|
||||||
|
<a href="/store/product/{$top_sellers[product].id}"><b>{$smarty.section.product.index+1}.</b> {$top_sellers[product].name}</a><br />
|
||||||
|
{/section}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue