{block name="module_product_options_selection_if"} {if $options!=''} {block name="module_product_options_selection"}
{block name="module_product_options_selection_option_foreach"} {foreach name=outer item=options_data from=$options} {block name="module_product_options_selection_option_if"} {if $options_data.DATA || $GM_HIDE_OUT_OF_STOCK == 'false'} {block name="module_product_options_selection_option"}
{block name="module_product_options_selection_option_label"} {/block} {block name="module_product_options_selection_option_input_container"}
{block name="module_product_options_selection_option_input_foreach"} {foreach key=key_data item=item_data from=$options_data.DATA} {block name="module_product_options_selection_option_label2"} {/block} {/foreach} {$chk = false} {/block}
{/block}
{/block} {/if} {/block} {/foreach} {/block}
{/block} {/if} {/block}