@extends('layouts.app') @section('title', $vendor->name) @section('content') {{-- Vendor Header --}} @if($vendor->logo) @else {{ substr($vendor->name, 0, 1) }} @endif {{ $vendor->name }} @if($vendor->description) {{ Str::limit($vendor->description, 200) }} @endif {{ $products->total() }} Products ${{ number_format($vendor->total_sales ?? 0, 2) }} Total Sales @if($vendor->city) {{ $vendor->city }}{{ $vendor->country ? ', ' . $vendor->country : '' }} @endif {{-- Vendor Products --}} Products from {{ $vendor->name }} Browse all items from this vendor All Vendors @if($products->count() > 0) @foreach($products as $product) @if($product->primaryImage) @else {{ substr($product->name, 0, 1) }} @endif @if($product->getDiscountPercentage() > 0) -{{ $product->getDiscountPercentage() }}% @endif {{ $product->name }} @for($i = 1; $i <= 5; $i++) @endfor ({{ $product->reviews_count }}) {{ price($product->price) }} @if($product->compare_price && $product->compare_price > $product->price) {{ price($product->compare_price) }} @endif View @csrf Add to Cart @endforeach {{ $products->links() }} @else No Products Yet This vendor hasn't added any products yet. Browse Other Vendors @endif @endsection
{{ Str::limit($vendor->description, 200) }}
Browse all items from this vendor
This vendor hasn't added any products yet.