{{ $product->title }}

By: {{ $product->vendor->first_name.' '.$product->vendor->last_name}} {{-- Show this part if the seller is verified --}} {{-- @if($product->verify() == 1) --}}

Verified Seller verify

{{-- @endif --}} {{-- @foreach ($product->basic as $bInfo) @if ($bInfo->name === 'condition')

{{ $product->{$bInfo->name} }}

@break @endif @endforeach --}} @php $conditionValue = null; foreach ($product->basic as $bInfo) { if ($bInfo->name === 'condition') { $conditionValue = $product->{$bInfo->name}; break; } } if (is_null($conditionValue)) { foreach ($product->more as $mInfo) { if ($mInfo->name === 'condition') { $conditionValue = $product->{$mInfo->name}; break; } } } @endphp @if ($conditionValue)

{{ $conditionValue }}

@endif
{{-- This is for profile picture --}} @if($product->vendor->avatar)
Product Thumb
@endif

₦{{ number_format($product->price, 2) }}

{{ $product->description }}