2009-08-03 04:10:16 +00:00
|
|
|
{if $VAR.id == ''}
|
|
|
|
{$block->display('product_cat:user_menu')}
|
|
|
|
{else}
|
|
|
|
{$method->exe_noauth('product_cat','user_view')}
|
2008-11-26 22:50:40 +00:00
|
|
|
|
2009-08-03 04:10:16 +00:00
|
|
|
<!-- Show the category drill-down -->
|
|
|
|
{include file='file:pre_t_CategoryDrill.tpl'}
|
2008-11-26 22:50:40 +00:00
|
|
|
{/if}
|
|
|
|
|
|
|
|
<!-- Show subcategories -->
|
2009-08-03 04:10:16 +00:00
|
|
|
{if $product_sub_cat != ''}
|
|
|
|
<br/>
|
|
|
|
{include file='file:pre_t_SubCategories.tpl'}
|
2008-11-26 22:50:40 +00:00
|
|
|
{/if}
|
|
|
|
|
|
|
|
<!-- Show each product -->
|
2009-08-03 04:10:16 +00:00
|
|
|
{if $product_arr}
|
|
|
|
<table width=100% border="0" cellspacing="0" cellpadding="0" class="table_background">
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<table width="100%" border="0" cellspacing="1" cellpadding="0">
|
|
|
|
<tr valign="top">
|
|
|
|
<td width="65%">
|
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_heading_cart">
|
|
|
|
<tr valign="top">
|
|
|
|
<td width="78%">{t}Select A Plan{/t}</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
|
|
<td width="65%" class="row1">
|
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="5" class="row2">
|
|
|
|
<tr valign="top">
|
|
|
|
<td width="23%" valign="top">
|
|
|
|
<form method="get" action="">
|
|
|
|
<select name="id">
|
|
|
|
{foreach from=$product_arr item=product}
|
|
|
|
<option value="{$product.id}">
|
|
|
|
{if $list->translate('product_translate','name,description_short,description_full','product_id',$product.id,'prod_translate')}
|
|
|
|
{$prod_translate.name}
|
|
|
|
{else}
|
|
|
|
{$product.sku}
|
|
|
|
{/if}
|
|
|
|
-
|
|
|
|
{$list->format_currency_num($product.price_base,$smarty.const.SESS_CURRENCY)}
|
|
|
|
</option>
|
|
|
|
{/foreach}
|
|
|
|
</select>
|
|
|
|
<input type="submit" name="Submit" value="{t}Submit{/t}"/>
|
|
|
|
<input type="hidden" name="_page" value="product:details_wizard"/>
|
|
|
|
</form>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<br/>
|
2008-11-26 22:50:40 +00:00
|
|
|
{else}
|
2009-08-03 04:10:16 +00:00
|
|
|
{t}No Plans{/t}
|
2008-11-26 22:50:40 +00:00
|
|
|
{/if}
|