{if isset($lists) && $lists}
  <div class="product_list grid row-item">
  {foreach from=$lists item=products name=lists}
  	<div class="items-group">
  		{foreach from=$products item=product name=products}
    		{include file="catalog/_partials/miniatures/product.tpl" product=$product}
    	{/foreach}
    </div>
  {/foreach}
  </div>
{/if}