@php $featureCoupon = getContent('feature_coupon.content', true); $featuredCouponsData = App\Models\Coupon::with(['category', 'store', 'wishlists'])->orderBy('priority', 'asc') ->where('status', 1) ->where('is_featured', 1) ->latest() ->limit(4) ->get(); @endphp {{ __($featureCoupon->data_values->heading) }} @lang('View More') @foreach ($featuredCouponsData as $item) @if (auth()->check() && $item->wishlists->count() > 0) @else @endif @lang('Featured') {{ __($item->title) }} {{ __($item->code_name) }} {!! isExpired($item->id) !!} @endforeach @lang('Copy and paste this code at') @if(Request::is('/')) @lang('View More') @endif @push('script') @endpush
@lang('Featured')
{{ __($item->title) }}
{!! isExpired($item->id) !!}
@lang('Copy and paste this code at')