@extends('frontend.layouts.web.app') @if (isset($category_id)) @php $meta_title = \App\Models\Category::find($category_id)->meta_title; $meta_description = \App\Models\Category::find($category_id)->meta_description; @endphp @elseif (isset($brand_id)) @php $meta_title = \App\Models\Brand::find($brand_id)->meta_title; $meta_description = \App\Models\Brand::find($brand_id)->meta_description; @endphp @else @php $meta_title = get_setting('meta_title'); $meta_description = get_setting('meta_description'); @endphp @endif @section('meta_title'){{ $meta_title }}@stop @section('meta_description'){{ $meta_description }}@stop @section('meta') @endsection @section('content')
{{-- --}} {{--
--}}

@if(isset($category_id)) {{ \App\Models\Category::find($category_id)->getTranslation('name') }} @elseif(isset($query)) {{ translate('Search result for ') }}"{{ $query }}" @else {{ translate('All Products') }} @endif

@if (Route::currentRouteName() != 'products.brand') @endif
@foreach($products as $key=>$product) @endforeach
{{ $products->appends(request()->input())->links() }}
@endsection @section('script') @endsection