{assign var="hideWidgets" value=""}
{include_php file="shared_handle:cart"}

<h1>My Shopping Cart</h1>

<br />

<table align="center" style="width:525px;border:1px solid black;">
<tr>
	<td><b>Product</b></td>
	<td align="right"><b>Each</b></td>
	<td align="right"><b>Quantity</b></td>
	<td align="right"><b>Subtotal</b></td>
</tr>
<tr>
	<td colspan="4"><hr noshade size="1" color="#000000" /></td>
</tr>
{foreach from=$cart.items item="lineItem"}
<tr>
	<td nowrap="nowrap">{$lineItem.title}</td>
	<td align="right">${$lineItem.each|number_format:"2"}</td>
	<td align="right">{$lineItem.quantity}</td>
	<td align="right">${$lineItem.subtotal|number_format:"2"}</td>
</tr>
{foreachelse}
<tr>
	<td colspan="4" align="center">You have no items in your shopping cart.</td>
</tr>
{/foreach}
<tr>
	<td colspan="4"><hr noshade size="1" color="#000000" /></td>
</tr>
<tr>
	<td colspan="3" align="left"><b>TOTAL:</b></td>
	<td align="right">${$cart.total|number_format:"2"}</td>
</tr>
</table>
