@extends('ecommerce::layout.layout') @section('title', $merchant->company_name) @section('content')
@if($merchant->logo) @endif

{{ $merchant->company_name }}

@if($merchant->is_verified) @lang('ecommerce::ecommerce.trusted_merchant') @endif
@php $rating = $merchant->rating ?? 4.5; @endphp @for($i = 1; $i <= 5; $i++) @endfor
{{ number_format($rating, 1) }} ({{ $merchant->reviews_count ?? 0 }} @lang('ecommerce::ecommerce.reviews'))
{{ $categoryCounts['all'] ?? 0 }} @lang('ecommerce::ecommerce.unit_product')
{{ $merchant->satisfaction_rate ?? 98 }}% @lang('ecommerce::ecommerce.customer_satisfaction')
{{ $merchant->experience_years ?? 5 }}+ @lang('ecommerce::ecommerce.years_experience')
{{ $merchant->branches_count ?? 1 }} @lang('ecommerce::ecommerce.branches')
@lang('ecommerce::ecommerce.back')

@lang('ecommerce::ecommerce.store_categories')

@csrf
@foreach ($categories as $category) id ? 'checked' : '' }}> @endforeach

@lang('ecommerce::ecommerce.our_commitment')

@lang('ecommerce::ecommerce.fast_shipping')

@lang('ecommerce::ecommerce.fast_shipping_desc')

@lang('ecommerce::ecommerce.quality_products')

@lang('ecommerce::ecommerce.quality_products_desc')

@lang('ecommerce::ecommerce.expert_support')

@lang('ecommerce::ecommerce.expert_support_desc')

@lang('ecommerce::ecommerce.sort_by_label')
@php $totalProducts = $products instanceof Illuminate\Pagination\LengthAwarePaginator ? $products->total() : $products->count(); $currentCount = $products->count(); @endphp @lang('ecommerce::ecommerce.showing_products_count', ['count' => $currentCount, 'total' => $totalProducts])
@include('ecommerce::pages.partials.product-grid', compact('products'))
@endsection