{if $sections|count}
   <div class="row subsections">
      {foreach $sections as $subCat}
         <div class="subsection-item subsection-item-{$subCat.id} {$css_class}">
            <a href="{url s=category IDcat=$subCat.id IDpd=$body.producer.id}" class="subsection-item-inner" title="{$subCat.title}">
               <div class="subsection-item-image">
                  {block "image"}
                      {$photo_dimensions = $cfg.Photo.types["subsections"].size}
                     <img src="{get_photo photo=$subCat.photo type=section size='subsections'}" alt="{$subCat.title}" width="{$photo_dimensions[0]}" height="{$photo_dimensions[1]}">
                  {/block}
               </div>
               <div class="subsection-item-title">
                  <h2 class="heading-reset">{$subCat.title_short}</h2>
               </div>
            </a>
         </div>
      {/foreach}
   </div>
{/if}
