{extends_parent}

{block 'title'}
   <a href="{url s=product IDproduct=$product.id TITLE=$product.title}{if $product.id_variation}#{$product.id_variation}{/if}"
      title="{t}Zobrazit produkt{/t}">{$product.product.title}</a>
   {if $product.id_variation}
      <span class="variation">{$product.product.variationTitle}</span>
   {/if}

   {if $product.product and $product.note}
      <span class="variation">{$product.product->printNote($product.note)}</span>
   {/if}
   {if $product.note.name}
      <span class="variation">{t}Jméno:{/t} {$product.note.name}</span>
   {/if}
   {if $product.note.bike_size}
      <span class="variation">{t}Velikost kola:{/t} {$product.note.bike_size}</span>
   {/if}
   {block "product-inline-addons"}
      {ifmodule PRODUCTS_CHARGES}
      {if $product.product}
         {if $charges = $product.product->fetchCharges()}
            {foreach $charges as $charge}
               {if $product.note.charges[$charge.id] == 'Y'}
                  <span class="variation">+ {$charge.title|default:$charge.admin_title}
                     ({$charge.price|format_price:"ceil=no;decimal=dynamic"})</span>
               {/if}
            {/foreach}
         {/if}
      {/if}
      {/ifmodule}

      {ifmodule PRODUCT_GIFTS}
      {foreach $product.product.gifts as $gift_product}
         {if !$product.note.gifts[$gift_product.id].unwanted}
            <span class="variation">+ {t}dárek{/t} {$gift_product.title}</span>
         {/if}
      {/foreach}
      {/ifmodule}
   {/block}
{/block}
