@extends('frontend.layouts.app') @section('title', 'Search Results - SHAOXING SHUOLE TEXTILE CO.,LTD') @section('content')

Search

@if(request('q'))

Results for "{{ request('q') }}"


Products

@if($products->count() > 0)
@foreach($products as $product)
{{ $product->name }}
{{ $product->name }}
View
@endforeach
@else

No products found.

@endif

News

@if($news->count() > 0)
@foreach($news as $item)

{{ $item->created_at->format('Y-m-d') }}

{{ $item->title }}

{!! Str::limit(strip_tags(html_entity_decode(html_entity_decode($item->summary))), 100) !!}

View More
@endforeach
@else

No news found.

@endif
@else

Please enter a search term.

@endif
@endsection