title: Add array element to smarty variable in PrestaShop 1.7 Theme
body: <p>When modifying my theme, I want to make a change to this template file</p>
  
  <p><code>themes/my_theme/templates/catalog/_partials/miniatures/Category.tpl</code></p>
  
  <p>Contents of the original file:</p>
  
  <pre><code>{block name='category_miniature_item'}
    &lt;section class="category-miniature"&gt;
      &lt;a href="{$category.url}"&gt;
        &lt;img src="{$category.image.medium.url}" alt="{$category.image.legend}"&gt;
      &lt;/a&gt;
  
      &lt;h1 class="h2"&gt;
        &lt;a href="{$category.url}"&gt;{$category.name}&lt;/a&gt;
      &lt;/h1&gt;
  
      &lt;div class="category-description"&gt;{$category.description nofilter}&lt;/div&gt;
    &lt;/section&gt;
  {/block}
  </code></pre>
  
  <p>I want to add more data to the <code>$category</code> array, to display it in my custom shop. This data comes from a custom module.</p>
  
  <p>So for example:</p>
  
  <pre><code>    &lt;h1 class="h2"&gt;
        &lt;a href="{$category.url}"&gt;
            {$category.name} (from {$category.lowest_price} to {$category.highest_price} )
        &lt;/a&gt;
      &lt;/h1&gt;
  </code></pre>
  
  <p>What's the best way of doing that?</p>