@php $specialSection = App\Models\HomepageSection::with(['sectionItems' => function ($query) { $query->where('status', '=', 'active')->orderBy('position', 'asc'); }])->where('slug', 'special-item')->where('status', 1)->first(); @endphp
@foreach($sliders as $index => $slider) @endforeach
@if($specialSection)

{{$specialSection->title}}

Marathon Offer Running Now.

Pick For You

@foreach($specialSection->sectionItems->take($specialSection->item_number) as $sectionItem) @endforeach
@endif