{if isset($mainProduct) && $mainProduct}
<div class="main-product-showtab col-lg-4">
	{include file="catalog/_partials/miniatures/product.tpl" product=$mainProduct}
</div>
{/if}
{if isset($groupProducts) && $groupProducts}
<div class="list-product-showtab {if isset($mainProduct) && $mainProduct} data-fly-content col-lg-8{else}col-lg-12{/if}">
	<div class="data-lists-tab">
		{foreach from=$groupProducts item=products name=groupProduct}
		{if isset($products) && $products}
		<div class="row-data-fields">
		  <div class="product_list grid row-item">
		  {foreach from=$products item=product name=products}
		    {include file="catalog/_partials/miniatures/product.tpl" product=$product}
		  {/foreach}
		  </div>
		</div>
		{/if}
		{/foreach}
	</div>
</div>
{/if}