Location: PHPKode > projects > Simple PHP Shopping cart - asaancart > asaancart v-0.9/templates/selection_list_all_products.tpl
<table width="100%" border="0" cellpadding="3" bgcolor="#E6F2FF">
  <tr>
  	<td width="10" align="center"></td>
    <td align="center"><strong>Name</strong></td>
    <td align="center"><strong>Product Code</strong></td>
    <td align="center"><strong>Price</strong></td>
    
 </tr>
  {section name=all_product_list loop=$all_product_list}
  <tr>
    <td valign="top" bgcolor="#FFFFFF"><input type="radio" name="selected_product_id" id="selected_product_id" value="{$all_product_list[all_product_list].product_id}" /></td>
    <td valign="top" bgcolor="#FFFFFF">{$all_product_list[all_product_list].product_name}</td>
    <td valign="top" bgcolor="#FFFFFF">{$all_product_list[all_product_list].product_code}</td>
    <td valign="top" bgcolor="#FFFFFF">$ {$all_product_list[all_product_list].product_price}</td>
    <!-- --><td valign="top" bgcolor="#FFFFFF">{section name=product_images loop=$product_images}
{if $product_images[product_images].product_id == $all_product_list[all_product_list].product_id}
<img src="../product_images/{$product_images[product_images].image_filename}" width="70" />{/if}
{/section}</td> 
  {/section}
</table>


Return current item: Simple PHP Shopping cart - asaancart