@include('Website.Includes.header', ['meta_Details' => $meta_details]) @php use Illuminate\Support\Facades\Auth; use App\General\ProductClass; $logged_in_user = Auth::user(); $default_collection = 0; $collection_index = 1; @endphp Collection Home - Collection @if ($collectionproducts->isNotEmpty()) Select a Collection @foreach ($allCollections as $collection) @if (!is_null($collection)) @if ($collection->products->isNotEmpty()) @if ($collection_index == 1) @php $default_collection = $selectedCollection ? $selectedCollection->id : 0; @endphp id == $default_collection ? 'selected' : '' }}> {{ ucwords($collection->title) }} @else {{ ucwords($collection->title) }} @endif @endif @endif @endforeach @endif @if ($collectionproducts->isEmpty()) No Collection Found @endif @include('Website.Includes.footer')
Home - Collection