@php if (Auth::check()) { echo ""; } else { header("Location: " . URL::to('/'), true, 302); exit(); } use App\City; $cities = City::orderBy('priority', 'asc')->get(); @endphp @extends('frontend.layouts.home') @section('content') @include('frontend.layouts.partials.usermenu') @if(Auth::user()->status == 0) @include('frontend.layouts.partials.otpactive') @else Wishlists @include('backend.layouts.error') @foreach($wishlists as $wishlist) {{$wishlist->product->title}} Tk. {{$wishlist->product->price}}Availability: @if($wishlist->product->title == 0) Out of Stock @else In Stock @endif @endforeach {{ $wishlists->links() }} @endif @endsection