@extends('front.layouts.master') @section('title') Products @endsection @section('content')

Filter

Search
Sub Category
    @foreach ($categories as $category)
  • id, request()->get('category', []))) checked @endif onchange="this.form.submit()" id="{{$category->id}}">
  • @endforeach
Price
Range : ${{ request()->min_price ?? '10.00' }} - ${{ request()->max_price ?? '5000.00' }}
@foreach ($products as $product)
@php $rating = $product->commentable->count(); $totalStars = 5; @endphp @for ($i = 1; $i <= $totalStars; $i++) @endfor
( {{ $product->commentable->count() }} )

{{app()->getLocale() === 'ar' ? $product->name_ar : $product->name_en;}}

${{ $product->price }}

@endforeach
Showing 1 to 15 of 15 (1 Pages)
@foreach ($products as $product) @endforeach @endsection @section('js') @endsection