<? global $lang_id;?>
<? if ( $this -> query ):?>
  <div class="box-title">
    <?= \S::lang( 'wyniki-wyszukiwania-dla-zapytania' ) . ': <strong>' . $this -> query . '</strong>';?>
  </div>
<? endif;?>
<div class="search-content">
  <? if ( is_array( $this -> products ) ): foreach ( $this -> products as $product_id ):
    echo \Tpl::view( 'shop-product/product-mini', [
      'product' => \shop\Product::getFromCache( $product_id, $lang_id )
    ] );
  endforeach; endif;?>
</div>