@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
@endsection