{* $Id: minicart.tpl,v 1.17 2006/03/28 08:21:07 max Exp $ *}
<table cellpadding="1" cellspacing="0">
{if $minicart_total_items > 0}
<tr>
<td class="VertMenuItems" colspan="3">
<table cellpadding="1" cellspacing="0" border="0" width="100%">
<!--
Product Name
{$minicart_contents[num].product}
Product Id
{$minicart_contents[num].productid}
The link so customers can delete items from minicart
<a href=cart.php?mode=delete&productindex={$minicart_contents[num].cartid}></a>
the link to product id:
product.php?productid={$minicart_contents[num].productid}
Product Options
{$minicart_contents[num].product_options}
Product Quantity
{$minicart_contents[num].amount}
Cart Total
{include file="currency.tpl" value=$minicart_total_cost}
-->
{section name=num loop=$minicart_contents}
<tr>
<td class="MiniCartTextTiny" nowrap="nowrap">{$minicart_contents[num].amount} X </td>
<td class="MiniCartTextTiny" nowrap="nowrap">
{$minicart_contents[num].product|truncate:13:"...":true}</td>
<td class="MiniCartTextTiny" nowrap="nowrap" align="right">{$minicart_contents[num].display_subtotal}</td>
</tr>
{/section}
</table>
<hr class="VertMenuHr" size="1" />
{* include file="product_thumbnail.tpl" productid=$minicart_contents[just_add_product].productid image_x="130" product=$minicart_contents[just_add_product].product tmbn_url=$minicart_contents[just_add_product].tmbn_url *}
</td>
</tr>
<tr>
<td rowspan="2" width="23">
[img]{$ImagesDir}/cart_full.gif[/img]</td>
<td class="VertMenuItems">
{$lng.lbl_cart_items}: </td>
<td class="VertMenuItems">{$minicart_total_items}</td>
</tr>
<tr>
<td class="VertMenuItems">
{$lng.lbl_total}: </td>
<td class="VertMenuItems">{include file="currency.tpl" value=$minicart_total_cost}
</td>
</tr>
{else}
<tr>
<td rowspan="2" width="23">[img]{$ImagesDir}/cart_empty.gif[/img]</td>
<td class="VertMenuItems" align="center">
{$lng.lbl_cart_is_empty}</td>
</tr>
<tr>
<td class="VertMenuItems"></td>
</tr>
{/if}
</table>
<hr class="VertMenuHr" size="1" />{* $Id: minicart.tpl,v 1.17 2006/03/28 08:21:07 max Exp $ *}
<table cellpadding="1" cellspacing="0">
{if $minicart_total_items > 0}
<tr>
<td class="VertMenuItems" colspan="3">
<table cellpadding="1" cellspacing="0" border="0" width="100%">
<!--
Product Name
{$minicart_contents[num].product}
Product Id
{$minicart_contents[num].productid}
The link so customers can delete items from minicart
<a href=cart.php?mode=delete&productindex={$minicart_contents[num].cartid}></a>
the link to product id:
product.php?productid={$minicart_contents[num].productid}
Product Options
{$minicart_contents[num].product_options}
Product Quantity
{$minicart_contents[num].amount}
Cart Total
{include file="currency.tpl" value=$minicart_total_cost}
-->
{section name=num loop=$minicart_contents}
<tr>
<td class="MiniCartTextTiny" nowrap="nowrap">{$minicart_contents[num].amount} X </td>
<td class="MiniCartTextTiny" nowrap="nowrap">
{$minicart_contents[num].product|truncate:13:"...":true}</td>
<td class="MiniCartTextTiny" nowrap="nowrap" align="right">{$minicart_contents[num].display_subtotal}</td>
</tr>
{/section}
</table>
<hr class="VertMenuHr" size="1" />
{* include file="product_thumbnail.tpl" productid=$minicart_contents[just_add_product].productid image_x="130" product=$minicart_contents[just_add_product].product tmbn_url=$minicart_contents[just_add_product].tmbn_url *}
</td>
</tr>
<tr>
<td rowspan="2" width="23">
[img]{$ImagesDir}/cart_full.gif[/img]</td>
<td class="VertMenuItems">
{$lng.lbl_cart_items}: </td>
<td class="VertMenuItems">{$minicart_total_items}</td>
</tr>
<tr>
<td class="VertMenuItems">
{$lng.lbl_total}: </td>
<td class="VertMenuItems">{include file="currency.tpl" value=$minicart_total_cost}
</td>
</tr>
{else}
<tr>
<td rowspan="2" width="23">[img]{$ImagesDir}/cart_empty.gif[/img]</td>
<td class="VertMenuItems" align="center">
{$lng.lbl_cart_is_empty}</td>
</tr>
<tr>
<td class="VertMenuItems"></td>
</tr>
{/if}
</table>
<hr class="VertMenuHr" size="1" />