title: Access sub sub category, Shopware, Smarty
body: <p>trying to solve issue with sub sub category access in Shopware with smarty, but not sure at all how to do it. Maybe someone knows.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!-- THIS WORKS --&gt;
  
  {if $Category.sub}
    {foreach $Category.sub as $sub}
      &lt;li&gt;
        &lt;a href="#"&gt;
          &lt;span itemprop="name"&gt;{$sub.name}&lt;/span&gt;
        &lt;/a&gt;
      &lt;/li&gt;
    {/foreach}
  {/if}
  
  &lt;!-- THIS DOESN'T WORK --&gt;
  {if $Category.sub.sub}
    {foreach $Category.sub.sub as $subsub}
      &lt;li&gt;
        &lt;a href="#"&gt;
          &lt;span itemprop="name"&gt;{$subsub.name}&lt;/span&gt;
        &lt;/a&gt;
      &lt;/li&gt;
    {/foreach}
  {/if}</code></pre>
  </div>
  </div>
  </p>