@extends('front.layouts.master') @section('title') {{ $category->name() }} @endsection @section('content')

{{ $category->name() }}

img cate
@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
@foreach ($products as $product) @endforeach @endsection @section('js') @endsection