<div class="cartbox-alsobought-products">
   <div {if $hide_scrollbar}data-reload="cartbox-alsobought"{/if}>
      {$collectionProducts = $products->fetchCollections()}
      {$parameters = $collectionProducts->fetchParameters([88])}
      {foreach $products as $product}
         <a href="{url s=product IDproduct=$product.id TITLE=$product.title}" class="cartbox-alsobought-product"
            data-tracking-click='{get_gtm_data encode=true type='ecommerce' method='ProductClick' data=['product' => $product, 'position' => $product@iteration, 'listType' => 'cartbox-alsobought']}'>
            <figure>
               {$photo_dimensions = $cfg.Photo.types["product_catalog"].size}
               <img src="{get_photo photo=$product.image size='product_catalog'}"
                    alt="{$product.title}" class="img-responsive" width="{$photo_dimensions[0]}" height="{$photo_dimensions[1]}">
               <div class="catalog-flags flags">
                  {include 'product/product.flags.tpl'}
               </div>

               {include 'components/block.catalog.colors.tpl'}
            </figure>
            <div class="catalog-content">
               <div class="d-flex">
                  <p class="title">
                     {$product.title nofilter}
                  </p>

                  {if !$product.campaign_codes['OF']}
                     <p class="price">
                        {calc_product_discount product=$product assign='discount'}
                        {if $discount.priceOriginal}
                           <del class="strike-price">{$discount.priceOriginal|format_price}</del>
                        {/if}
                        <strong>
                           {$product.price_array|format_price}
                        </strong>
                     </p>
                  {/if}
               </div>

               {include 'product/product.rating.tpl'}

            </div>
         </a>
      {/foreach}
   </div>
</div>
