@if($product->image_url) {{ $product->name }} @else
📦
@endif
@if($product->is_featured) Featured @endif @if($product->compare_price && $product->compare_price > $product->price) -{{ round((($product->compare_price - $product->price) / $product->compare_price) * 100) }}% @endif
@auth @if(auth()->user()->user_type === 'company')
@csrf
@endif @endauth

{{ $product->supplier->company_name ?? 'Unknown Supplier' }}

{{ $product->name }}

{{ number_format($product->rating, 1) }} @if($product->stock_quantity > 0) In Stock @else Out of Stock @endif
R {{ number_format($product->price, 2) }} @if($product->compare_price && $product->compare_price > $product->price) R {{ number_format($product->compare_price, 2) }} @endif