@extends('layouts.master') @section('title', 'Browse Products - The Mini Port') @section('content')

Marketplace

{{ $products->total() }} Products found from KYC submitted suppliers

@foreach(request()->except(['q', 'page']) as $key => $value) @endforeach
@if(request()->anyFilled(['category', 'min_price', 'max_price', 'verified', 'q', 'min_moq', 'max_moq', 'location']))
Active Filters:
@if(request('q')) Search: "{{ request('q') }}" @endif @if(request('category')) Cat: {{ $categories->where('slug', request('category'))->first()->name ?? request('category') }} @endif @if(request('verified')) KYC Submitted Only @endif @if(request('location')) Loc: {{ request('location') }} @endif Clear All
@endif
Filter By
@if(request('q')) @endif
Category

Price Range (₹)

Supplier Type

Location
All Products
{{ $products->total() }}
Sort by
@forelse($products as $product) @php $seller = $product->seller; $subscription = $seller->subscription ?? null; $plan = $subscription?->plan ?? null; $isPremium = $seller->isPaid(); $hasVerifiedBadge = $plan && $plan->has_verified_badge; $showContactDetails = $plan && $plan->show_contact_details; @endphp
{{ $product->name }}
{{ $product->name }} @if($isPremium) @endif
Category: {{ $product->category->name ?? 'Industrial' }}
Platform MOQ Range: {{ \App\Models\Setting::getValue('min_moq', 10) }} - {{ \App\Models\Setting::getValue('max_moq', 150) }}
Product MOQ: {{ $product->moq ?? 1 }} {{ $product->unit->name ?? 'Pieces' }}
Price:

{{ $product->currency == 'USD' ? '$' : '₹' }}{{ number_format($product->price, 0) }}

per Piece
(Tax & Shipping Extra)
    @if($product->specifications && is_array($product->specifications)) @foreach(array_slice($product->specifications, 0, 2) as $key => $val)
  • {{ is_string($key) ? $key . ': ' : '' }}{{ Str::limit($val, 30) }}
  • @endforeach @endif
View More
@if($seller->is_verified || in_array($seller->kyc_status, ['submitted', 'verified'])) @else @endif @if($isPremium) @endif
@empty

No Products Found

Try using different filters.

Clear Filters
@endforelse
{{ $products->links() }}
@if(isset($promotedProducts) && $promotedProducts->count() > 0)
Sponsored
Premium Selections
@endif
Filters
@if(request('q')) @endif
Clear All
@foreach($products as $product) @php $seller = $product->seller; @endphp @endforeach @endsection