@extends('layouts.app') @section('title', $brand->name) @section('content')
@if($brand->logo) {{ $brand->name }} @else
@endif

{{ $brand->name }}

@if($brand->description)

{{ $brand->description }}

@endif
Products from {{ $brand->name }}
@if($products->count() > 0)
@foreach($products as $product)
{{ $product->name }} @if($product->is_featured) Featured @endif
{{ substr($product->name, 0, 30) }}

{{ $product->category?->name }}

{{ substr($product->description, 0, 60) }}...

{{ \App\Support\Currency::symbol() }}{{ number_format($product->price, 2) }} @if($product->inventory->quantity > 0) In Stock @else Out of Stock @endif
@endforeach
{{ $products->links() }}
@else
\"No
No products available

from this brand

@endif
@endsection