@extends('layout.client') @section('content')
@if ($productdetails)

{{ $product->name }}

₹ {{ $productdetails[0]->offerprize }}

Stock: {{ $productdetails[0]->stockquantity }}

Select quantity

@csrf
  • {{-- --}}
  • Availability: {{ $productdetails[0]->stockquantity > 0 ? 'In Stock' : 'Out of Stock' }}
  • {{--
  • Category: {{$productdetails->category->catname}}
  • --}}
@endif
@endsection