@if ($reviews && count($reviews))
@foreach ($reviews as $item) @php $attrs = $item->getAttrs(); $attrData = []; foreach ($attrs as $attr) { $attrData[] = $attr->text_value; } $attrStr = implode('/', $attrData); @endphp
{{ $item->name }}

{{ $product->name }} {{ $attrStr }}

    @for ($i = 0; $i < $item->rating; $i++)
  • @endfor

{!! nl2br($item->comment) !!}

{{ $item->timeFormat('H:i d-m-Y') }}

@endforeach
{!! $reviews->links($_template . 'pagination') !!}
@endif