@php $initialVariant = $product->variants->first(); @endphp

{{ $product->title }}

Sold by: {{ @$product->wholesalerProfile->store_title }}


PKR

| Stock:


{!! $product->description !!}
{!! $product->specifications !!}
{!! $product->dispute_description !!}
{{--
--}} {{--
--}} {{--

--}} {{-- Store Best Sellers--}} {{--

--}} {{-- @foreach( \App\Models\Product::where('wholesaler_profile_id', $product->wholesaler_profile_id)->where('id', '!=', $product->id)->with(['variants' => function ($q) {--}} {{-- $q->orderBy('id'); // or any logic to get primary variant--}} {{-- }])->take(8)->get() as $similarProduct)--}} {{-- @php--}} {{-- $variant = $similarProduct->variants->first();--}} {{-- @endphp--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- {{ $variant->product->title }}--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- @endforeach--}} {{--
--}} {{--
--}}

Store Best Sellers

@foreach( \App\Models\Product::where('wholesaler_profile_id', $product->wholesaler_profile_id) ->where('id', '!=', $product->id) ->with(['variants' => fn($q) => $q->orderBy('id')]) ->take(8) ->get() as $similarProduct) @php $variant = $similarProduct->variants->first(); @endphp
{{ $variant->product->title }}
{{ Str::limit($variant->product->title, 35) }}

{{ $variant->getAttributeSummary() }}

@endforeach