@php
    $discounted_products = app(\TPS\Shop\Repositories\ProductFlatRepository::class)->weeklyOffers();
@endphp
@inject ('reviewHelper', 'Webkul\Product\Helpers\Review')
<!-- SLIDER 2 ===================================================== -->
<div class="slider slider2">
    <!-- Slider main container -->
    <div class="swiper-container mySwiper1 slider2">
        <!-- Additional required wrapper -->
        <div class="swiper-wrapper">
            <!-- Slides -->
            @foreach ($discounted_products as $product)
                <div class="swiper-slide swiper-slide2">
                    @include('shop::home.offer-item')
                </div>
            @endforeach
        </div>
        <div class="swiper-button-next swiper-button-next2"></div>
        <div class="swiper-button-prev swiper-button-prev2"></div>
        <div class="swiper-pagination"></div>
    </div>
</div>
<!-- SLIDER 2 end ================================================= -->

<!-- MOBILE -->
<div class="card-container-mobile no-desktop">
    <div class="card_outer">
        @foreach ($discounted_products as $product)
            @include('shop::home.offer-item')
        @endforeach
    </div>
</div>