
@if ($featured_products = app('TPS\Shop\Repositories\ProductRepository')->getFeaturedProducts($count))
        <div class="item-gallery-inner">
            <div class="item-gallery-title">
                <h2>{{__('shop::app.home.featured-products')}}</h2>
            </div>
            <div class="item-gallery-wrapper">
                @foreach ($featured_products as $productFlat)
                    @include ('shop::products.list.card', ['product' => $productFlat])
                @endforeach
            </div>
        </div>
@endif