@extends('layout.master', ['title' => 'Search']) @section('content')
search

Search results

@foreach ($products as $product)
Product image

-{{ round((($product->price - $product->discounted_price) / $product->price) * 100) }}%

@if (auth()->user()) @else @endif

৳ {{ $product->discounted_price }}

৳ {{ $product->price }}
@php $rating = $product->rating; @endphp @for ($i = 0; $i < 5; $i++) @if ($rating >= 1) @else @endif @php $rating--; @endphp @endfor

({{ $product->rating_count }})

অর্ডার করুন

@endforeach
{!! $products->links() !!}
@endsection @section('scripts') @endsection