Location: PHPKode > projects > Simple PHP Shopping cart - asaancart > asaancart v-0.9/templates/shop/cart_items_review.tpl
{if $total_cart_items>0}
    <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#E4E4E4" align="left">
    {if $msg != "" }
    
    	<tr height="35">
        <td colspan="5" bgcolor="#FFFFFF"><div id="msg">{$msg}</div></td>
      </tr>
      {/if}
      <tr>
      	<td height="10%" bgcolor="#E4E4E4"><strong>SKU</strong></td>
      	<td height="27" bgcolor="#E4E4E4"><strong>Product</strong></td>
        <td width="10%" align="center"><strong>Price</strong></td>
        <td width="15%" align="center"><strong>Quantity</strong></td>
        
        <td width="10%" align="center"><strong>Sub Total</strong></td>
      </tr>
      {section name=cartItems loop=$cartItems}
      
      <tr> 
      <td align="center" bgcolor="#FFFFFF">${$cartItems[cartItems].product_code}</td>
      
      	<td bgcolor="#FFFFFF"><img src="../product_images/{$cartItems[cartItems].product_image}" align="left" width="50" vspace="3" hspace="3" ><strong><a href="product.php?product_id={$cartItems[cartItems].product_id}&product_name={$cartItems[cartItems].product_name}">{$cartItems[cartItems].product_name}</a></strong><br />
        {$cartItems[cartItems].product_description}</td>
        <td bgcolor="#FFFFFF" align="center">${$cartItems[cartItems].product_price}</td>
        <td bgcolor="#FFFFFF" align="center">{$cartItems[cartItems].product_qty}</td>
        <td bgcolor="#FFFFFF" align="center">${$cartItems[cartItems].total}</td>
      </tr>
     

      {/section}
 </table>
<div style="clear:both;"></div>
 <table width="172" border="0" cellpadding="3" cellspacing="1" align="right" bgcolor="#E4E4E4">     
      <tr height="25">
        <td align="center" bgcolor="#E4E4E4" >Subtotal</td>
        <td  align="center" bgcolor="#FFFFFF" >${$cartSubTotal|string_format:"%.2f"}</td>
   </tr>
        <tr height="25">
        <td width="100" align="center" bgcolor="#E4E4E4" >Shipping</td>
        <td width="61" align="center" bgcolor="#FFFFFF"  >${$shippingTotal|string_format:"%.2f"}</td>
        </tr>
              <tr height="25">
        <td  align="center" bgcolor="#E4E4E4" ><strong>Total</strong></td>
        <td  align="center" bgcolor="#FFFFFF"  ><strong>${$cartTotal|string_format:"%.2f"}</strong></td>
        </tr>
</table>
<div style="clear:both;"></div>
<table width="100%" cellpadding="0" cellspacing="0" align="left">
<tr>
    <td height="35" align="right"> </td>
  </tr>
</table>

      {else}
<em>You have no items in your cart yet.</em>
 	
    {/if}
Return current item: Simple PHP Shopping cart - asaancart