@foreach ($brands as $index => $brand)
@php
$brand_link = url($brand->seo_by_locale($locale)->slug);
@endphp
@foreach ($brand->products->where('special', 1)->where('active', 1)->sortByDesc('id')->take(4) as $i => $product)
@php
$files = array_values($product->getFiles('images')->toArray());
$photo = isset($files[0])
? Utils::cropImg(public_path($files[0]['file']), 400, 400)
: '';
$link = url($product->seo_by_locale($locale)->slug);
@endphp
-
{{ $product->{'brief_' . $locale} }}
@endforeach
@endforeach