{if $body.product.gifts}
   <div class="product-gifts">
      {foreach $body.product.gifts as $gift_product}
         {$gift_product->fetchImages(4)}
         <div class="item">
            <span class="title-default">{t escape=false}Dárek <br>k produktu{/t}</span>
            <a href="{url s=product IDproduct=$gift_product.id TITLE=$gift_product.title}">
               {block "photo"}
                  <img src="{get_photo photo=$gift_product.image size=4}" alt="{$gift_product.title}">
               {/block}
            </a>
            <a href="{url s=product IDproduct=$gift_product.id TITLE=$gift_product.title}"
               title="{t}Zobrazit zboží{/t}" class="title">
               {if $gift_product.gift_pieces and $gift_product.gift_pieces > 1}{$gift_product.gift_pieces}x {/if}{$gift_product.title}
            </a>
            <span class="gift-price">{t}zdarma{/t}</span>
         </div>
      {/foreach}
   </div>
{/if}
