@extends('frontEnd.layouts.master') @section('title', 'Sellers - All Verified Shops') @push('css') @endpush @section('content') {{-- Search and Filter --}} Home Sellers @if(request('keyword')) @endif {{-- Sellers Grid --}} @if($vendors->count() > 0) @foreach($vendors as $vendor) {{-- Background Banner --}} {{-- Logo & Verification --}} @if($vendor->logo) @else {{ strtoupper(substr($vendor->shop_name, 0, 1)) }} @endif @if($vendor->verification_status == 'approved') @endif {{-- Content --}} {{ $vendor->shop_name }} {{-- Rating --}} @php $rating = $vendor->average_rating; @endphp @for($i = 1; $i <= 5; $i++) @endfor ({{ number_format($rating, 1) }}) {{-- Stats --}} {{ $vendor->products_count }} Items {{ $vendor->total_reviews }} Reviews {{-- Link --}} Visit Store @endforeach {{-- কাস্টম CSS (শুধুমাত্র এই পেজের জন্য) --}} {{-- পেজিনেশন লজিক --}} @if ($vendors->hasPages()) {{-- Previous Button --}} @if ($vendors->onFirstPage()) « @else « @endif {{-- Page Numbers --}} @foreach ($vendors->getUrlRange(1, $vendors->lastPage()) as $page => $url) @if ($page == $vendors->currentPage()) {{ $page }} @else {{ $page }} @endif @endforeach {{-- Next Button --}} @if ($vendors->hasMorePages()) » @else » @endif @endif @else {{-- Empty State --}} No Sellers Found @if(request('keyword')) We couldn't find any shops matching "{{ request('keyword') }}". @else There are no active sellers at the moment. @endif @if(request('keyword')) View All Sellers @endif @endif @endsection
Items
Reviews
@if(request('keyword')) We couldn't find any shops matching "{{ request('keyword') }}". @else There are no active sellers at the moment. @endif