{extends_parent}

{block "gopay-items-hidden"}
   {if $method@index == ($tpl_vars.online_payment_visible_items|default:2 - 1) and $closed and !$method@last}
      <div class="cart-box-row payment-item thepay-method payments-list">
         <div>
            {foreach $object->getAvailableMethods() as $name => $method}
               {if $method@index > 1 and $method@index < 6}
                  <img src="{$method.image}" title="{$method.name}" alt="{$method.name}"
                       style="width: 60px; height: auto; margin: 5px 0;" class="payment-item-small">
               {/if}
            {/foreach}
         </div>
         <div>
            <a href="" class="thepay-more btn {$tpl_vars.payment_more_class|default:"btn-primary"}" id="gopay-more"
               title="{t}Zobrazit více platebních metod{/t}">{t}Více{/t}</a>
         </div>
      </div>
   {/if}
{/block}
