@if ($stores->isNotEmpty() && $stores->loadMissing('metadata'))
@foreach ($stores as $store)
@if (EcommerceHelper::isReviewEnabled())
{!! Theme::partial('star-rating', [
'avg' => $store->reviews()->avg('star'),
'count' => $store->reviews()->count(),
]) !!}
@endif
@if (! MarketplaceHelper::hideStoreAddress() && $store->full_address)
{{ $store->full_address }}
@endif
@if (!MarketplaceHelper::hideStorePhoneNumber() && $store->phone)
@endif
@if (!MarketplaceHelper::hideStoreEmail() && $store->email)
@endif
@endforeach
@else
{{ __('No vendor found.') }}
@endif