92 lines
4.2 KiB
Smarty
92 lines
4.2 KiB
Smarty
<!-- Show product -->
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
|
<tr>
|
|
<td>
|
|
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
<tr>
|
|
<td style="width: 70%;" class="row1" valign="top">
|
|
<table width="100%" border="0" cellspacing="2" cellpadding="0" class="row2">
|
|
<tr>
|
|
<td><b>{if $list->translate('product_translate','name','product_id',$cart.product_id,'translate_product')}{/if} <span style="text-decoration: underline;"><a href="?_page=product:details&id={$cart.product_id}">{$translate_product.name}</a></span></b></td>
|
|
<td style="width: 20px; text-align: right;">{if $disable} {else}<a href="javascript:deleteCart('{$cart.id}');"><img src="themes/{$THEME_NAME}/images/icons/trash_16.gif" alt="Remove from Cart" style="border: 0px;"/></a>{/if}</td>
|
|
</tr>
|
|
<tr>
|
|
<td> <b>{t}Pricing Structure{/t}:</b> {$list->menu_staticlist('pricetype','','',$cart.product.price_type,'form_menu')}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
{if $cart.product.price_type == '1'}
|
|
<select id="recurr_schedule_{$cart.id}" name="recurr_schedule_{$cart.id}" onchange="changeRecurring('{$cart.id}',this.value);" {if $disable}disabled="disabled"{/if}>
|
|
{foreach from=$cart.price item=price_recurr key=key}
|
|
<option value="{$key}" {if $cart.recurr_schedule == $key} selected="selected"{/if}>
|
|
{$list->format_currency_num($price_recurr.base,$smarty.const.SESS_CURRENCY)}
|
|
{$list->menu_staticlist('recur_schedule','','',$key,'form_menu')}
|
|
{if $price_recurr.setup > 0}+ {$list->format_currency_num($price_recurr.setup,$smarty.const.SESS_CURRENCY)} {t}Setup{/t}{/if}
|
|
</option>
|
|
{/foreach}
|
|
</select>
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
{if $cart.service_id > 0}
|
|
<tr>
|
|
<td> {translate module=cart service=$cart.service_id}service_upgrade{/translate}</td>
|
|
</tr>
|
|
{/if}
|
|
{if $cart.cart_type == '1'}
|
|
{if $cart.host_type == 'ns_transfer'}
|
|
<tr>
|
|
<td> {t}For your existing domain{/t} - <span style="text-decoration: underline;">{$cart.domain_name}.{$cart.domain_tld}</span></td>
|
|
</tr>
|
|
{/if}
|
|
{if $cart.host_type == 'ip'}
|
|
<tr>
|
|
<td> {t}This is an IP based hosting plan, IP address to be assigned.{/t}</td>
|
|
</tr>
|
|
{/if}
|
|
{/if}
|
|
{if $cart.attr}
|
|
<tr>
|
|
<td>{$cart.attr}</td>
|
|
</tr>
|
|
{/if}
|
|
</table>
|
|
</td>
|
|
<td style="width: 30%;" class="row1" valign="top">
|
|
<table width="100%" border="0" cellspacing="2" cellpadding="0" class="row1">
|
|
<tr>
|
|
<td style="width: 70%;">{t}Base Price{/t}</td>
|
|
<td style="width: 30%;" valign="middle" align="right">
|
|
<div id="def_base_price_{$cart.id}">{$list->format_currency_num($cart.price_base, $smarty.const.SESS_CURRENCY)}</div>
|
|
<div id="base_price_{$cart.id}"></div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 70%;">{t}Setup Price{/t}</td>
|
|
<td style="width: 30%;" valign="middle" align="right">
|
|
<div id="def_setup_price_{$cart.id}">{$list->format_currency_num($cart.price_setup, $smarty.const.SESS_CURRENCY)}</div>
|
|
<div id="setup_price_{$cart.id}"></div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 70%;">{t}Quantity{/t}</td>
|
|
<td style="width: 30%;" valign="middle" align="right">
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><input type="text" id="quantity_{$cart.id}" name="quantity_{$cart.id}" size="2" value="{$cart.quantity}" onchange="changeQuantity('{$cart.id}',this.value);" {if ($disable || $cart.host_type != 'ip' && $cart.host_type != '') || $cart.service_id > 0}disabled="disabled"{/if}/></td>
|
|
<td style="width: 20px; text-align: right;"><img src="themes/{$THEME_NAME}/images/icons/calc_16.gif" alt="Calc" style="border: 0px;"/></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
{if $showadmin}
|
|
{include file='file:cart_tr_adhocdiscount.tpl'}
|
|
{/if}
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|