{{ $rev['text'] ?? '' }}
@extends('front.layout.master')
@section('title', filter_var($store->name) . ' | ' . config('app.name'))
@section('body')
@php
$lang = session()->get('changed_language') ?? config('translatable.fallback_locale');
$coverExists = $store->cover_photo && file_exists(public_path('/images/store/cover_photo/' . $store->cover_photo));
$coverUrl = $coverExists
? url('images/store/cover_photo/' . $store->cover_photo)
: url('images/default_cover_store.jpg');
$storeLogoFile = $store->store_logo ?? $store->logo ?? null;
$logoExists = $storeLogoFile && file_exists(public_path('/images/store/logo/' . $storeLogoFile));
$sort = request('sort', 'A-Z');
$limit = (int) request('limit', 12);
$totalProducts = method_exists($products, 'total') ? $products->total() : count($products);
@endphp
{{-- ============= STORE HERO ============= --}}
{{ $totalProducts }} {{ __('items') }} {{ __('This store has not listed any products at the moment.') }}
@else
{{ strtoupper(substr($store->name, 0, 1)) }}
@endif
{{ $store->name }}
@if($store->verified_store == '1')
{{ __('Verified') }}
@endif
@if(!empty($google_reviews))
@endif
{{ __('Products from this store') }}
{{ __('No products yet') }}
{{ $rev['text'] ?? '' }}
{{ __('No reviews available.') }}
@endforelse