Location: PHPKode > projects > Simple PHP Shopping cart - asaancart > asaancart v-0.9/templates/add_product_list_sub_variants.tpl
<table width="100%" border="0" cellspacing="1" cellpadding="1">
  <tr>
    <td width="24%"><strong>Variant Name</strong></td>
    <td width="5%"><strong>Show</strong></td>
    <td width="13%"><strong>Surcharge</strong></td>
    <td width="11%"><strong>Sort Order</strong></td>
    <td width="47%"><strong>Current Stock Level</strong></td>
  </tr>
{section name=list_all_sub_variants loop=$list_all_sub_variants}
<tr>
{if $list_all_variant_group[list_all_variant_group].variant_group_id==$list_all_sub_variants[list_all_sub_variants].variant_group_id}
    <td><input type="text" id="edit_variant_name_{$list_all_sub_variants[list_all_sub_variants].variant_id}" value="{$list_all_sub_variants[list_all_sub_variants].variant_name}" disabled="disabled"  /></td>
    <td><input type="checkbox" name="{$list_all_sub_variants[list_all_sub_variants].variant_id}_variant_id" id="{$list_all_sub_variants[list_all_sub_variants].variant_id}_variant_id"  value="yes" checked="checked" /></td>
    <td>$<input type="text" id="edit_variant_surcharge1_{$list_all_sub_variants[list_all_sub_variants].variant_id}" name="edit_variant_surcharge1_{$list_all_sub_variants[list_all_sub_variants].variant_id}" size="5" value="{$list_all_sub_variants[list_all_sub_variants].surcharge}" /></td>
    <td><input type="text" id="edit_variant_order_{$list_all_sub_variants[list_all_sub_variants].variant_id}" name="edit_variant_order_{$list_all_sub_variants[list_all_sub_variants].variant_id}" size="2" value="0"/></td>
    <td><input type="text" id="edit_variant_qty_{$list_all_sub_variants[list_all_sub_variants].variant_id}" name="edit_variant_qty_{$list_all_sub_variants[list_all_sub_variants].variant_id}" size="5" value="1"/></td>

{/if}</tr>

{/section}
</table>
Return current item: Simple PHP Shopping cart - asaancart