{if $products|count}
   <div class="products-carousel-wrapper" id="{$id}">
      <div class="container">
         <div data-wpj-carousel data-tracking-view='{get_gtm_data encode=true type='ecommerce' method='ProductsImpressions' data=['products' => $products, 'listType' => $listType, 'listId' => $listId]}'>
             {$products->fetchVariations(true)|silent}
             {$products->fetchPhotos(2)}
             {foreach $products as $product}
                <div class="{$catalog_class|default:'col-xl-3 col-sm-4 col-xxs-6'}">
                    {include "components/block.products.item.tpl"}
                </div>
             {/foreach}
         </div>
      </div>
   </div>
{/if}
