{* upravený fallback *}
{extends_parent}

{block 'image'}
   {calc_product_discount product=$product.product assign='product_discount'}
   {if $product_discount.discount->isPositive() and $product_discount.discount->asFloat() >= 1}
      <span class="c-product-discountlabel">
         -{$product_discount.discount->asFloat()|round}%
      </span>
   {/if}
   <img src="{get_photo photo=$product.image size=$img_size}" alt="{$product.title}"
        class="img-responsive" width="{$photo_dimensions[0]}" height="{$photo_dimensions[1]}">
{/block}

{block "piece-price"}{/block}

{block "product-sets" append}
   {ifmodule PRODUCTS__SETS}
   {if isset($product.note.sets) }
      {insert_products_sets_cart note=$product.note}
   {/if}
   {/ifmodule}
{/block}

{block "cart-discounts-full"}
   <div data-reload="cart-discounts-full">
      {ifmodule ORDER_DISCOUNT}
         {* načítání slev je v ordering.cart.tpl kvůli zobrazení na dvou místech - insert_discounts_actions *}
      {foreach $discountsActions as $discountAction}
         {if $discountAction.action_type != 'orders_charge'}
            {$discountAction.content nofilter}
         {/if}
      {/foreach}
      {/ifmodule}
   </div>
{/block}

{block "shipping-progress-wrapper"}
{/block}

