Unescaping string? in Shopify
<p>I have 8 feature products added in my settings_schema.json . I want to output them by for loop by adding number on the end of settings.feature_product[incrementing integer]</p>

<p>This is my settings schema</p>

<pre><code>{
    "type": "product",
    "id": "feature_product1",
    "label": "Feature Product 1"
  },
  {
    "type": "product",
    "id": "feature_product2",
    "label": "Feature Product 2"
  },
  {
    "type": "product",
    "id": "feature_product3",
    "label": "Feature Product 3"
  },
  {
    "type": "product",
    "id": "feature_product4",
    "label": "Feature Product 4"
  },
  {
    "type": "product",
    "id": "feature_product5",
    "label": "Feature Product 5"
  },
  {
    "type": "product",
    "id": "feature_product6",
    "label": "Feature Product 6"
  },
  {
    "type": "product",
    "id": "feature_product7",
    "label": "Feature Product 7"
  },
  {
    "type": "product",
    "id": "feature_product8",
    "label": "Feature Product 8"
  }
</code></pre>

<p>This is the code in my snippet</p>

<pre><code>      {% for i in (1..8) %}
        {% if i &lt;= 8 %}
          &lt;div class="case_item"&gt;
            {% assign case_var = 'settings.feature_product' | append: i | strip_html %}
            {{ all_products[case_var].title }} 
          &lt;/div&gt;
        {% endif %}
      {% endfor %}
</code></pre>

<p>But it doesn't work :( I tried to print the case_var and the result is..
settings.feature_product1
settings.feature_product2
.
.
settings.feature_product3</p>

<p>Anyone could help me?</p>