| Photo | Part # / Name | Stock | Price | Link |
|---|---|---|---|---|
|
@if($row['image_url'])
|
{{-- Part # / Name --}}
{{ $row['part_number'] }}
@if($row['mfr_part_number'] && $row['mfr_part_number'] !== $row['part_number'])
Mfr: {{ $row['mfr_part_number'] }}
@endif
@if($row['brand_name'])
{{ $row['brand_name'] }}
@endif
{{ $row['product_name'] }}
@if($row['part_description'] && $row['part_description'] !== $row['product_name'])
{{ Str::limit($row['part_description'], 100) }}
@endif
@if($row['discontinued'])
Discontinued
@endif
|
{{-- Stock (3 rows like PS) --}}
@include('filament.pages.product-searcher-stock-block', ['row' => $row]) | {{-- Price --}}
@if(isset($livePrices[$rowId]))
@if(isset($livePrices[$rowId]['error']))
{{ $livePrices[$rowId]['error'] }}
@elseif(!$livePrices[$rowId]['usd'])
No price available
@else
{{ $livePrices[$rowId]['formatted'] }}
{{ $livePrices[$rowId]['excl'] ?? '' }}
USD {{ $livePrices[$rowId]['usd'] }} cost
@endif
@elseif($row['is_por'])
Price on Request
R {{ number_format($row['price_zar_incl'], 2) }} incl.
@if($row['price_zar_excl'] !== null)
R {{ number_format($row['price_zar_excl'], 2) }} excl.
@endif
@else
—
@endif
@endif
|
{{-- Link --}}
@if($row['product_url']) @endif |
| Photo | SKU / Name | Stock | Price (incl.) | Link |
|---|---|---|---|---|
|
@if($row['image_url'])
|
@if($row['sku'])
{{ $row['sku'] }}
@endif
{{ $row['product_name'] }}
|
@if($row['stock_qty'] > 0) {{ $row['stock_qty'] }} on hand @else Out of stock @endif | R {{ number_format($row['price_incl'], 2) }} |
One per line or comma-separated. Also matches manufacturer references. Maximum 200.
| Part # / Name | Stock | Price | Link |
|---|---|---|---|
@if($row['not_found'])
{{ $row['part_number'] }}
Not found in catalogue
@else
{{ $row['part_number'] }}
@if($row['mfr_part_number'] && $row['mfr_part_number'] !== $row['part_number'])
Mfr: {{ $row['mfr_part_number'] }}
@endif
@if($row['brand_name'])
{{ $row['brand_name'] }}
@endif
{{ $row['product_name'] }}
@if($row['discontinued'])
Discontinued
@endif
@endif
|
@if(!$row['not_found']) @include('filament.pages.product-searcher-stock-block', ['row' => $row]) @endif |
@if(!$row['not_found'])
@if(isset($livePrices[$rowId]))
@if(isset($livePrices[$rowId]['error']))
{{ $livePrices[$rowId]['error'] }}
@elseif(!$livePrices[$rowId]['usd'])
No price available
@else
{{ $livePrices[$rowId]['formatted'] }}
{{ $livePrices[$rowId]['excl'] ?? '' }}
USD {{ $livePrices[$rowId]['usd'] }} cost
@endif
@elseif($row['is_por'])
POR
R {{ number_format($row['price_zar_incl'], 2) }} incl.
@if($row['price_zar_excl'] !== null)
R {{ number_format($row['price_zar_excl'], 2) }} excl.
@endif
@else
—
@endif
@endif
@endif
|
@if(!$row['not_found'] && $row['product_url']) @endif |