<h1>My Shopping Cart</h1>

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

<h2 class="withBG">My Shopping Cart Contents</h2>

<table align="center">
<tr>
	<td>Product</td>
	<td>Each</td>
	<td>Quantity</td>
	<td>Subtotal</td>
</tr>
<tr>
	<td colspan="4"><hr noshade size="1" /></td>
</tr>
{foreach from=$cart item="lineItem"}
<tr>
	<td>{$product.title}</td>
	<td>${$product.each|number_format:"2"}</td>
	<td>{$product.quantity}</td>
	<td>${$product.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" /></td>
</tr>
<tr>
	<td colspan="3" align="left"><b>TOTAL:</b></td>
	<td>${$cartTotal|number_format:"2"}</td>
</tr>
</table>
