@extends('frontend.layouts.app') @section('meta_title'){{ $shop->meta_title }}@stop @section('meta_description'){{ $shop->meta_description }}@stop @section('meta') @endsection @section('content') @php $total = 0; $rating = 0; foreach ($shop->user->products as $key => $seller_product) { $total += $seller_product->reviews->count(); $rating += $seller_product->reviews->sum('rating'); } @endphp {{ $shop->name }} {{ renderStarRating($shop->rating) }} ({{ $shop->num_of_reviews }} {{ translate('Reviews') }}) {{ $shop->address }} {{ translate('Member Since') }} {{ date('d M Y',strtotime($shop->created_at)) }} {{$shop->user->name}} {{ translate('has not been verified yet.')}} @endsection