Location: PHPKode > projects > Simple PHP Shopping cart - asaancart > asaancart v-0.9/templates/list_attribute_set_values.tpl
<table width="100%" border="0" cellspacing="0" cellpadding="0">

<input type="hidden" name="set_id" value="{$attribute_set_id}" />
{section name=all_attribute_set_id loop=$all_attribute_set_id}
<tr>
    <td><input type="checkbox" value="yes" id="add_attribute_{$all_attribute_set_id[all_attribute_set_id].attribute_id}" name="add_attribute_{$all_attribute_set_id[all_attribute_set_id].attribute_id}" checked="checked" title="Select this attribute" />&nbsp;{$all_attribute_set_id[all_attribute_set_id].attribute_name}</td>
    <td><select id="attribute_{$all_attribute_set_id[all_attribute_set_id].attribute_id}" name="attribute_{$all_attribute_set_id[all_attribute_set_id].attribute_id}">{section name=all_attribute_set_value loop=$all_attribute_set_value}{if $all_attribute_set_id[all_attribute_set_id].attribute_id == $all_attribute_set_value[all_attribute_set_value].attribute_id}
    <option value="{$all_attribute_set_value[all_attribute_set_value].attribute_value}">{$all_attribute_set_value[all_attribute_set_value].attribute_value}</option>
    {/if}{/section}</select> or <input type="text" name="attribute_user_value_{$all_attribute_set_id[all_attribute_set_id].attribute_id}" name="attribute_user_value_{$all_attribute_set_id[all_attribute_set_id].attribute_id}" /> 
    </td>
  </tr>

{/section}
</table>

Return current item: Simple PHP Shopping cart - asaancart