@php $products_without_image = \App\Models\Product::whereNull("photo")->get(); @endphp
@foreach($images_array as $id => $imagesArray) first()->id }}" class="product"> @endforeach @foreach($products_without_image as $product) @endforeach
Product Images
{{ strtoupper($products->where("id", $id)->first()->sku) }} - {{ $products->where("id", $id)->first()->name }} @foreach($imagesArray as $image) @endforeach
{{ strtoupper($product->sku) }} - {{ $product->name }} @if($loop->first) @foreach($unassigned_images as $image) @endforeach @endif