<ul class="isl-nodetree">
  <li>
    <div>

      <div class="isl-margin">
        Sepete en az
        <input type="number" name="{{ module_setting }}[condition_min_quantity]" value="{{ setting['item']['condition_min_quantity'] }}" min="1" class="form-control input-sm isl-inline-block isl-w-xs isl-mh-5" required>
        adet aşağıdaki üründen eklendiğinde
      </div>
      <div class="isl-margin isl-w-l">
        <input type="text" placeholder="Type product name" data-isl-autocomplete='{"type":"product", "target":"isl-autocomplete-a", "name":"{{ module_setting }}[condition_product_ids][]"}' class="form-control input-sm">
        <div class="well well-sm isl-well isl-autocomplete-a">
          {% for product in condition_product_ids_data %}
            <div class="isl-autocomplete-a{{ product['product_id'] }}"><i class="fa fa-minus-circle pointer"></i> {{ product['name'] }}<input type="hidden" name="{{ module_setting }}[condition_product_ids][]" value="{{ product['product_id'] }}"></div>
          {% endfor %}
        </div>
      </div>

    </div>
  </li>
  <li>
    <div>

      <div class="isl-margin">kargoyu ücretsiz yap</div>
      <div class="isl-margin isl-w-l">
        <div class="well well-sm isl-well">
          <label><input type="checkbox" name="{{ module_setting }}[zone_ids][]" value="0" {{ 0 in setting['item']['zone_ids'] ? 'checked' }}> All Geo Zones</label>
          {% for zone in geo_zones %}
            <label><input type="checkbox" name="{{ module_setting }}[zone_ids][]" value="{{ zone['geo_zone_id'] }}" {{ zone['geo_zone_id'] in setting['item']['zone_ids'] ? 'checked' : '' }}> {{ zone['name'] }}</label>
          {% endfor %}
        </div>
      </div>

    </div>
  </li>
</ul>

<script>
$(document).trigger('isl.autocomplete');
</script>
