@props(['product'])
@if($product->thumb) {{ $product->name }} @else
{{ strtolower($product->brand?->name ?? 'pcfy') }} · product
@endif GRADE {{ $product->grade }} {{ $product->condition === 'new' ? 'New' : 'Pre-Owned' }} @if($product->stock_status === 'in_stock') In stock @elseif($product->stock_status === 'low_stock') Low stock @endif
{{ $product->brand?->name ?? 'pcfy' }}
{{ $product->name }}
@php $specArr = $product->quick_specs; if (is_string($specArr)) { $specArr = json_decode($specArr, true); } $chips = array_slice((array)($specArr ?? []), 0, 4); @endphp @if(!empty($chips))
@foreach($chips as $chip) {{ $chip }} @endforeach
@endif
{{ $product->price_inr }} @if($product->mrp) {{ $product->mrp_inr }} {{ $product->discount_percent }}% off @endif
{{ $product->warranty_months }}-month warranty included