{extends_parent}

{block 'products-list'}
    {$isB2BUser = $ctrl->isType('b2b') scope='global'}

    {if $body.listShow == '2' and $isB2BUser}
        {include "block-products/block.products.b2b-list.tpl" products=$body.productsList  row_class="catalog-row catalog-row-b2b"}
    {else}
        {include "block.products.tpl" products=$body.productsList catalog_class="col-lg-2 col-xxs-4"}
    {/if}
   {if $body.pager.count > 1}
      {$loader_text = "{t}Zobrazit další produkty{/t}"}

      {include "components/pager.tpl" pager=$body.pager load_button=true show_arrows=true}
   {/if}
{/block}

{block "ajax-end"}
   <span data-reload="pagerTotal-filter-form">{t}Zobrazit produkty{/t}&nbsp;({$body.pager.total})</span>
{/block}
