Location: PHPKode > projects > Simple PHP Shopping cart - asaancart > asaancart v-0.9/templates/edit_add_product_list_variants.tpl
{$msg}

{section name=list_product_variant_groups loop=$list_product_variant_groups}
<div id="group_variant_id_{$list_product_variant_groups[list_product_variant_groups].variant_group_id}" style="padding:3px; border:0; border-bottom:0px solid #cccccc; margin-top:7px; background-color:#F3F3F3">

<input type="checkbox" name="variant_group_id[]" id="variant_group_id[]"  value="{$list_product_variant_groups[list_product_variant_groups].variant_group_id}" onclick="selectSubVariants({$list_product_variant_groups[list_product_variant_groups].variant_group_id})" checked="checked"  />
 {$list_product_variant_groups[list_product_variant_groups].group_name} 

<br />

<div id="group_variants_box_{$list_product_variant_groups[list_product_variant_groups].variant_group_id}" style="background-color:#C4E1FF; padding:5px; display:;">

{include file='edit_add_product_list_sub_variants.tpl'}
</div>

</div>
{/section}

{section name=list_remaining_variant_group loop=$list_remaining_variant_group}


<div id="group_variant_id_{$list_remaining_variant_group[list_remaining_variant_group].variant_group_id}" style="padding:3px; border:0; border-bottom:0px solid #cccccc; margin-top:7px; background-color:#F3F3F3">


<input type="checkbox" name="variant_group_id[]" id="variant_group_id[]"  value="{$list_remaining_variant_group[list_remaining_variant_group].variant_group_id}" onclick="selectSubVariants({$list_remaining_variant_group[list_remaining_variant_group].variant_group_id})" />
 {$list_remaining_variant_group[list_remaining_variant_group].group_name} 

<br />

<div id="group_variants_box_{$list_remaining_variant_group[list_remaining_variant_group].variant_group_id}" style="background-color:#C4E1FF; padding:5px; display:none;">

<!--{if $list_all_variant_group[list_all_variant_group].enable_stock=="yes"}<br />
{/if}
<input id="stock_variant_group_id" name="stock_variant_group_id" type="hidden" value="{$list_all_variant_group[list_all_variant_group].variant_group_id}" /> 
-->
{include file='edit_add_product_list_sub_variants_remaining.tpl'}
</div>
<!--<div id="add_variant_form_{$list_all_variant_group[list_all_variant_group].variant_group_id}" style="background-color:#FFFFCA; padding:5px; display:none">
Variant Name: <input type="text" id="variant_name_{$list_all_variant_group[list_all_variant_group].variant_group_id}"  /> Surcharge <input type="text" id="variant_surcharge_{$list_all_variant_group[list_all_variant_group].variant_group_id}"  value="0.00" /> <a href="javascript:saveVariantInfo({$list_all_variant_group[list_all_variant_group].variant_group_id});"><img src="images/icons/add_icon.gif" alt="Add" title="Add" align="absmiddle" border="0"/></a>
</div>
 -->
</div>
{/section}
Return current item: Simple PHP Shopping cart - asaancart