Location: PHPKode > projects > Simple PHP Shopping cart - asaancart > asaancart v-0.9/templates/manage_variant_list.tpl
{if $msg_variant==""}{else}
<div style="clear:both; padding:10px;"></div>
        <span id="msg_small">{$msg_variant}</span>
        <div style="clear:both; padding:10px;"></div>
        {/if}
{if $msg==""}{else}
        <div style="clear:both; padding:10px;"></div>
        <span id="msg_small">{$msg}</span>
        <div style="clear:both; padding:10px;"></div>
        {/if}
{section name=list_all_variant_group loop=$list_all_variant_group}
<div id="group_variant_id_{$list_all_variant_group[list_all_variant_group].group_variant_id}" style="padding:3px; border:0; border-bottom:0px solid #cccccc; margin-top:7px; background-color:#F3F3F3; font-size:11px;">
<input type="text" id="variant_group_name_{$list_all_variant_group[list_all_variant_group].variant_group_id}" value="{$list_all_variant_group[list_all_variant_group].group_name}" /><!-- {if $list_all_variant_group[list_all_variant_group].enable_stock=="yes"} <a href="javascript:UpdateGroupStatus({$list_all_variant_group[list_all_variant_group].variant_group_id}, 'disable_stock');"><img src="images/icons/lightning_gray.png" alt="Disable variant level stock management for this variant" title="Disable variant level stock management for this variant" align="absmiddle" border="0"/></a>{else} <a href="javascript:UpdateGroupStatus({$list_all_variant_group[list_all_variant_group].variant_group_id}, 'enable_stock');"><img src="images/icons/lightning.png" alt="Enable variant level stock management for this variant" title="Enable variant level stock management for this variant" align="absmiddle" border="0"/>{/if}-->  <a href="javascript:saveGroupInfo({$list_all_variant_group[list_all_variant_group].variant_group_id});"><img src="images/icons/disk.png" alt="Save" title="Save" align="absmiddle" border="0"/></a> <!-- <a href="javascript:deleteGroupInfo({$list_all_variant_group[list_all_variant_group].variant_group_id});"><img src="images/icons/delete.png" alt="Delete" title="Delete" align="absmiddle" border="0"/></a>--><br />
<div id="group_variants_box_{$list_all_variant_group[list_all_variant_group].group_variant_id}" style="background-color:#C4E1FF; padding:5px;">
{include file='manage_list_sub_variants.tpl'}
</div>
<div id="add_variant_form_{$list_all_variant_group[list_all_variant_group].variant_group_id}" style="background-color:#FFFFCA; padding:5px;">
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