Added delivery country condition

This commit is contained in:
Franck Allimant
2014-05-10 00:10:32 +02:00
parent 1287823d3b
commit 073905200e
2 changed files with 194 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<div class="form-group">
<label for="operator">{intl l="Delivery country is :"}</label>
{$operatorSelectHtml nofilter}
</div>
<div class="form-group">
<label for="{$countries_field_name}-value">{intl l="The selected countries :"}</label>
<select required multiple size="5" class="form-control" id="{$countries_field_name}-value" name="{$countries_field_name}[value][]">
{loop type="country" name="list-of-countries" order="alpha"}
<option style="padding-left: {$LEVEL * 20}px" value="{$ID}" {if in_array($ID, $values)}selected="selected"{/if}>{$TITLE}</option>
{/loop}
</select>
<span class="label-help-block">{intl l='Use Ctrl+click to select (or deselect) more that one country'}</span>
</div>