<? global $lang_id;?>
<div class="row">
  <? if ( is_array( $this -> products ) ): foreach ( $this -> products as $product_id ):?>
    <?= \Shared\Tpl\Tpl::view( 'shop-product/product-mini', [
      'product' => (new \Domain\Product\ProductRepository($GLOBALS['mdb']))->findCached( $product_id, $lang_id ),
      'class' => 'col-12 col-sm-6 col-lg-3'
    ] );?>
  <? endforeach; endif;?>
</div>