@extends('Frontend.layout.main')
@section('head')
{{$pageData->meta_title() ?? 'Eldiar'}}
@endsection
@section('content')
Search result/s for "{{$search}}"
Products
@forelse($products as $product)
@php
$media = url("/storage/products/no-image.png");
if($product->image() != null && file_exists(storage_path('app/public/products/'.$product->image()))):
$media = url("/storage/products/".$product->image());
endif;
@endphp
-
@empty
-
@endforelse
Brands
@forelse($search_brands as $brand)
@php
$media = url("/storage/products/no-image.png");
if($brand->image != null && file_exists(storage_path('app/public/brands/'.$brand->image))):
$media = url("/storage/brands/".$brand->image);
endif;
@endphp
-
@empty
-
@endforelse
@endsection